WRITING A WHAT IF FUNCTION

  • Thread starter Thread starter MARY
  • Start date Start date
M

MARY

I want to write a function that does the following:

Any cells that have "no" then any cells to the left of the "no" cells will
be added together. -- I have a spreadsheet where rents paid are answered
Yes or NO. I want a cell that totals are unpaid rents. Does this make
sense?
MARY
 
Try something like:

=SUMIF(B1:B100,"no",A1:A100)

Note that Worksheet functions are not case sensitive so No and no will both
be picked up.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 

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

Similar Threads

vlookup with multiple values 3
Simple totals 4
Help with IF function 3
I need help with excel IF function 2
conditional statement help 4
if function with extras. 2
Help writing a formula 5
Formula structure 3

Back
Top