Ernesto
asked on
i need a formula for sum if
hi all
im attaching a capture screen that what i need
as example
i want to sum all values if the cell above say yes,
in the example i need to sum 9 and 5 but i need do it in all range because is variable
is any way to achive that
regards
cap-pan.bmp
im attaching a capture screen that what i need
as example
i want to sum all values if the cell above say yes,
in the example i need to sum 9 and 5 but i need do it in all range because is variable
is any way to achive that
regards
cap-pan.bmp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I should have formatted the sheet better. The total is 20 and that's where the formula is.
=SUMIF(A1:F2,"yes",A2:F2)
A1:F2 is the whole array "Yes" is the criteria, A2:F2 is what you want the sum up.
=SUMIF(A1:F2,"yes",A2:F2)
A1:F2 is the whole array "Yes" is the criteria, A2:F2 is what you want the sum up.
ASKER
Thats, it!!!!
tsm
tsm
ASKER
what happend if the rang is not consecutive?
=SUMAR.SI(A1,c1,e1"yes",A2 :c2,e2)
what is the way?
regards
=SUMAR.SI(A1,c1,e1"yes",A2
what is the way?
regards
post an example of how you are setting up the sheet. Or just take my sheet and modify it the way your sheet is setup.
ASKER
ok send you
is like yours
but the numbers are not consecutive
i need a6,d6,g6,,j6
with your same concept
regards!!
samplesheet.xlsx
is like yours
but the numbers are not consecutive
i need a6,d6,g6,,j6
with your same concept
regards!!
samplesheet.xlsx
Here you go...
Copy-of-samplesheet-1.xlsx
Copy-of-samplesheet-1.xlsx
ASKER
the result must be 9 only the above cell is "si"
ASKER
sorry
is correct
is correct
ASKER
tsm!!!
no its 14. You have 2 cells with "Si" A6 and D6
ASKER
yes your right
tsm
tsm
OK great!
ASKER