USING NAMES IN FORMULAS

G

Guest

=IF(ISBLANK(BA6),"",(IF(ISBLANK(Q24),'SL&AH'!E24,'JL&AH'!E24)))

The formula above is what I have been using and it works perfectly, but I
want to change it to give the first value if "Single" is typed in the cell
(Q24) but if "Joint" is typed in the cell (Q24) then the 2nd value would be
returned.

This is what I tried but it returns a name error:

=IF(ISBLANK(BA6),"",(IF(Q24=Single),'SL&AH'!E24,'JL&AH'!E24)))

How can I make this work?
 
B

Bob Phillips

Try this

=IF(ISBLANK(BA6),"",IF(Q24="Single",'SL&AH'!E24,'JL&AH'!E24))


--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Top