Preguntas técnicas de características y respuestas a preguntas tipo qué es

Excel: What You’re Doing Wrong When Adding and Subtracting Time and It’s Costing You Hours

Master 3 ADVANCED TRICKS to ADD HOURS in Excel! Learn custom format, SUMIF, and calculate extra hours. Includes a PRACTICAL EXAMPLE and solutions to common errors. Find out more!

Follow these steps to add hours correctly:

  1. Format the cells as TIME:
    • Select the cells
    • Right-click → “Format Cells”
    • Choose “Time” → Select the format 13:30:55
  2. Use the normal SUM function:excel=SUM(B2:B10)
  3. If it exceeds 24 hours:
    • Change the format to:text[h]:mm:ss
    • This will correctly display totals greater than 24 hours

🔥 3 ADVANCED TRICKS to ADD HOURS

1. Add hours and minutes with custom format

excel

=TEXT(SUM(B2:B10)/24,"[h]:mm")

2. Add hours with a condition (using SUMIF)

excel

=SUMIF(A2:A10,"Morning shift",B2:B10)

3. Calculate overtime (greater than 8 hours)

excel

=IF(B2>TIME(8,0,0), B2-TIME(8,0,0), TIME(0,0,0))

⚠️ COMMON PROBLEMS and SOLUTIONS

ProblemSolution
Shows ######Increase the column width
A decimal number appearsChange the format to time
Doesn’t add correctlyVerify that all values are valid times
Shows unwanted AM/PMChange the format to 24 hours

📊 PRACTICAL EXAMPLE: Time Tracking

EmployeeClock-In TimeClock-Out TimeHours Worked
Juan8:3017:15=B2-A2
María9:0018:30=B3-A3
Total=SUM(C2:C3)

💡 Tip: To calculate pay, multiply by the hourly rate:

excel

=C2*24*15  (if the hourly rate is $15)

👇 Do you have a specific case? Leave your question in the comments! 💻⏱️

Sobre el autor

Deivi Sanz

Soy David, conocido como Deivi Sanz, especialista en SEO y marketing digital con más de 15 años de experiencia ayudando a negocios a destacar en el mundo online.

Mi pasión es transformar ideas en estrategias digitales efectivas, combinando análisis de datos, creatividad y las últimas tendencias en posicionamiento web. En este blog comparto mis conocimientos sobre SEO técnico, content marketing y growth hacking, siempre con un enfoque práctico y resultados medibles.

Cuando no estoy optimizando webs o escribiendo artículos, me encontrarás explorando nuevas herramientas SEO, analizando casos de éxito o disfrutando de un buen café mientras planifico la siguiente estrategia viral.

También me gusta implementar ideas creando plugin para WordPress o aplicaciones para Android.

Firma:

Con dedicación y estrategia,

David "Deivi Sanz"
🔍 Especialista SEO
🌐 Creador de Contenidos Digitales
🚀 Transformando visitas en oportunidades

¿Necesitas ayuda con tu proyecto digital?
¡Hablemos en los comentarios! o en contactar
Deivi Sanz

Ver más artículos de Deivi Sanz