• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

HELP with IF Statement - PLEASE

Lauren Tatulli

New Member
I'm trying to create a simple formula for someone that needs an 'IF Statement.' I want to say, IF cell G3 is blank or 3 days past the date in cell F3, then show date/blank red fill in cell G3. IF G3 has date received within 3 days of date in cell F3, show date and green in cell G3.
 
Hi ,

Both of the things that you want cannot be done using only formulae.

Secondly , you cannot have both user data entry and Excel's output in the same cell using formulae. If you want that the user should be able to enter a date in G3 , and that Excel should also be able to enter a date in G3 if it is blank , then only VBA can do the job.

Narayan
 
G3 will contain a date (3/30/18). G column represents dates that part for a job are received. I would like the row or specific cell to be red, if the part has not been received (BLANK cell) or has not been received within 3 days of ordering (3/30/18 + 3) or green if it has been received and within 3 days of ordering.

3 columns
E - Date of Job In
F - Date of Part Ordered
G - Date of Part Received.
 
I can create color for row, a specific cell or anywhere. Just need to be able to indicate which job can proceed, because all parts are received and on time.

Thank you!!
 
Hi ,

Select your range , say G3:G20 , and enter the following formula in the CF rule box :

=AND($F3 <> "", OR($G3 = "", $G3 > ($F3 + 3)))

Select the color RED.

Enter the following formula in a second CF rule box :

=AND($F3 <> "", $G3 <> "", $G3 <= ($F3 + 3))

Select the color GREEN.

Narayan
 
What I am trying to do is attached.

In the meantime, I will work with the suggestion mentioned above.

Thank you all!
 

Attachments

  • Screen Shot 2018-03-30 at 12.43.36 PM.png
    Screen Shot 2018-03-30 at 12.43.36 PM.png
    69.8 KB · Views: 5
So ultimately, now they are saying they need this. And this need this to be on-going throughout the spreadsheet, even when they add jobs. I've attached their explanation.

Thank you!
 

Attachments

  • Excel.png
    Excel.png
    162.9 KB · Views: 11
I posted with all that I was given. There are notes in the sheet explaining what needs to be done. I just don't know the formula. I'd imagine it would be similar to the formula provided above.
 
How do I get this to set for the entire worksheet?


Hi ,

Select your range , say G3:G20 , and enter the following formula in the CF rule box :

=AND($F3 <> "", OR($G3 = "", $G3 > ($F3 + 3)))

Select the color RED.

Enter the following formula in a second CF rule box :

=AND($F3 <> "", $G3 <> "", $G3 <= ($F3 + 3))

Select the color GREEN.

Narayan
 
Looking for formula to read:

IF cells in column E, starting with E3, are blank or 3 days greater than today (in cell B1), red. If within 3 days of today, green.

Then i need to so the same for column F, starting F3 and column G, starting G3.

Thank you!
 
Back
Top