Sum values using cell with varying values

D

dmullen

I have two columns, one with numeric values that I would like to sum if the
value in the second column is not null. The values of the second column are
either an 'X', a date (mm/dd) or blank.
 
D

duane

adjust the c6:c8 for your column of x's and dates, and b6:b8 for you
column of data

=SUMPRODUCT((NOT(ISBLANK(C6:C8)))*(B6:B8)
 
Top