Just had an epiphany.

>place this in whatever cell you want to have display the sum of "Row F"
'=if(match("P",C:C,)>0,sum(F:F),"whatever value you want if Row C does not 
contain a P")

This formula will search "Row C" for a "P" and if there is a "P" then it 
will show the sum of "Row F" in whatever cell you place the Formula in. 

If I were to use it to my own spread sheet i would use it like this.

'=iferror(if(match("P",C:C,)>0,sum(F:F)),"")

Same thing but handles it cleaner IMHO

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to