Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Suz
 
Posts: n/a
Default Using IF when more than one cell contains criteria

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'!A6Sheet1!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
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Sue,

You don't really have a choice about the IF

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


--

HTH

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


"Suz" wrote in message
...
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'!A6Sheet1!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



  #3   Report Post  
Suz
 
Posts: n/a
Default

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

"Bob Phillips" wrote:

Sue,

You don't really have a choice about the IF

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


--

HTH

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


"Suz" wrote in message
...
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'!A6Sheet1!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




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Glad to help Sue. I thought I didn't quite get it, but it all worked out.

Bob


"Suz" wrote in message
...
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

"Bob Phillips" wrote:

Sue,

You don't really have a choice about the IF

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


--

HTH

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


"Suz" wrote in message
...
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'!A6Sheet1!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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to combine 2 different SUMPRODUCT criteria into one cell????? Tourcat Excel Worksheet Functions 4 February 10th 05 07:25 AM
"criteria" in a sumif refering to the value in another cell mark Excel Discussion (Misc queries) 1 January 31st 05 07:39 PM
SUMIF with only one criteria cell within range Stan Excel Discussion (Misc queries) 5 December 16th 04 10:12 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"