SUMAR.SI CON DOS CONDICIONES

Renzo G

New Member
Joined
May 6, 2002
Messages
19
Juan Pablo,

Tengo la siguiente lista:

Columna A: Fecha
Columna B: Tipo de Combustible
Columna C: Galones

Quiero hacer una tabla de resumen por mes y por tipo de combustible.Algo asi:

ene feb mar
Tipo 1
Tipo 2
Tipo 3

Que formula podria poner que sumer por tipo de combustible y mes.

Gracias,

Renzo
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Me parece que saldría más sencillo hacer una tabla dinámica, agrupando las fechas por meses, y poniéndola en la Columna y el Tipo en la fila.
 
Upvote 0
Renzo,

Creo que con la sig. formula podrias resolver tu problema:


{=SUMAPRODUCTO( ((TIPO=$A1)*(MES(FECHAS)=D$2))*CAN)

TIPO, es el rango de tipos de combustible.
FECHAS seria el rango donde tienes las fechas de cada movimiento.
CAN, es el la cantidad por movimiento.


Espero que esto te ayude a resolver tu problema.
Saludos,
Luis Romero
 
Upvote 0

Forum statistics

Threads
1,216,797
Messages
6,132,747
Members
449,757
Latest member
budha465

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top