Operación con campos variables

gustavoavila

New Member
Joined
Feb 27, 2013
Messages
15
Hola amigos, buen día.

Tengo un problema para crear una formula para poder realizar una operación dependiendo del numeros de celdas, valores, etc.

Les explico más a fondo: Tengo una tabla con 4 columnas y muchas lineas. Estoy buscando una formula que sume todos los valores2 que tengan una X en la columna Bandera y que termine hasta que el siguiente valor en la columna valor1 aparezca.

Les anexo una tabla de ejemplo de cómo tengo mi hoja? He intentado varias opciones pero no se como hacer para que la formula sea "inteligente" para que reconozca la siguiente linea de Valor1 y hasta ahi haga la sumatoria.

Muchas gracias de antemano por su ayuda!

Valor 1BanderaValor 2Operación
100400
X1
X3
2002200
X1
X5
X3
X2
3006600
X2
X5
X7
X8

<tbody>
</tbody>
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,650
Messages
6,120,734
Members
448,987
Latest member
marion_davis

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