Validated cells and IF statements

G

Guest

Hi,

My manager has asked me to add some columns to our planning spreadsheet that
will allow us to easily see if another department is taking too long doing
its work. I need to create a fairly complicated IF formula, can anyone help?

I’ve added four columns to the sheet, these are as follows:

A1: Where now?
Using the validation function I’ve created a drop down box in this column
which has four options “Us checkingâ€, “To Artâ€, “To productionâ€, “Back from
productionâ€.

A2: With whom
This simply lists the name of the person within the production department
who is working on the document.

A3: Deadline
This column is formatted as a date and shows the deadline by which the piece
of work should be returned to us.

A4: Late?
This is the column I want to format. If A3 is empty I want this cell to be
blank. If the deadline in A3 has passed this cell should display the word
“LATEâ€. If the deadline has passed, BUT the drop down box in A1 is set to
“Back from production†then this cell should display the word “DONEâ€.

Can anyone tell me what this formula should be?

Thanks

Karl
 
R

Roger Govier

Hi Karl
Try
=IF(A3="","",
IF(A3-TODAY()>=0,"",
IF(AND(A3-TODAY()<0,A1="Back from Production"),"Done","Late")))
 
G

Guest

Thank you.

It works, except that when you choose "Back from production" from the drop
down box in A1 "LATE" doesn't change to "DOE".

Are IF STATEMENTS just incapable of recognising the contents of validated
cells?

Thanks

Karl
 
R

Roger Govier

Hi Karl
Works fine for me.
Are your sure the wording is the same in the dropdown box as the formula
"Back from Production"
 
G

Guest

You're right, it works fine.I'd left a space in where none should be.

Thanks again, very much appreciated!
 
B

Bob Phillips

The case must also be the same.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail 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