Sum values using cell with varying values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
This will sum A1:A20 if B1:B20 is non-blank:

=SUMIF(B1:B20,"<>",A1:A20)
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top