Using IF when more than one cell contains criteria

S

Suz

Hello and an advance "Thank you!" to anyone who can help.

I need a formula that will tell me if I have an upcoming demand for a
product (90 days from today's date), but no PO to match.

Example: Today is 2/16/05 - Cell a6 contains my product due date of
5/16/05. Cell b6 is empty (should be PO #).

My current formula only tells me the date the PO should be in my hands
(Sheet1!A$1 references today's date).

=IF('2005 Forecast'!A6>Sheet1!A$1,+'2005 Forecast'!A6-90," ")

How do I modify the above formula to include the cell that should contain
the PO # and only give results if that cell (B6) is blank?

Perhaps I shouldn't be using the IF function?

Thanks again - Sue
 
B

Bob Phillips

Sue,

You don't really have a choice about the IF

=IF(AND('2005 Forecast'!A6>Sheet1!A$1,'2005 Forecast'!C6<>"PO"),'2005
Forecast'!A6-90," ")


--

HTH

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

Suz

Bob,

Thank you for responding so quickly! I had to tweak your formula a bit as
it returned results only for rows where both cells were blank instead of the
PO cell only, but your help gave me a running start.

Much appreciated!

Sue
 

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