Can't make it work?

agoodson1956

Board Regular
Joined
Sep 1, 2016
Messages
140
If H8 is less then D2 say "Not Ready", If H8 is between D2 and F2 say "All Most", If H8 is more than F2 say "Done"
 

Some videos you may like

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

mumps

Well-known Member
Joined
Apr 11, 2012
Messages
8,906
Try: =IF(H8 < D2,"Not Ready",IF(AND(H8 > D2,H8 < F2),"AllMost",IF(H8 > F2,"Done")))
 
Last edited:

agoodson1956

Board Regular
Joined
Sep 1, 2016
Messages
140
Thanks it works on one sheet but not another?

I have formulas on the page that does not work.

D2 = =IF(F6<>"",INDEX(Data!$B:$Z,MATCH(F6,Data!$B:$B,0),21),"")

F2==IF(F6<>"",INDEX(Data!$B:$Z,MATCH(F6,Data!$B:$B,0),19),"")

H8==G8-F8

G8 & F8 are dates
 

mumps

Well-known Member
Joined
Apr 11, 2012
Messages
8,906
What values do the formulas return in cells D2, F2 and H8?
 

agoodson1956

Board Regular
Joined
Sep 1, 2016
Messages
140
D2 is how many days to germinate which changes depending on seeds

F2 is how many days until harvest microgreens from date planted

H8 is how many days between today's date and planting date
 

mumps

Well-known Member
Joined
Apr 11, 2012
Messages
8,906
Are the formulas returning numbers? Perhaps you could upload a copy of your file to a free site such as www.box.com. or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.
 

mrshl9898

Well-known Member
Joined
Feb 6, 2012
Messages
1,115
D and F2 aren't numerical.

D2 = IF(F6<>"",NUMBERVALUE(INDEX(Data!$B:$Z,MATCH(F6,Data!$B:$B,0),21)),"")
F2 =IF(F6<>"",NUMBERVALUE(INDEX(Data!$B:$Z,MATCH(F6,Data!$B:$B,0),19)),"")

It's also 'Almost', and L10 can be shortened to =IF(K10="None","",IF(K10="Mason Jar","Sprouts","Microgreen"))
 
Last edited:

agoodson1956

Board Regular
Joined
Sep 1, 2016
Messages
140
I had to do the following and then it worked!

[FONT=&quot]--Copy a blank cell[/FONT]
[FONT=&quot]--Keeping the copy select the range of cells with numeric values[/FONT]
[FONT=&quot]--Right click>PasteSpecial>[/FONT]
[FONT=&quot]--Select 'Add' and click OK.[/FONT]
 

Watch MrExcel Video

Forum statistics

Threads
1,095,827
Messages
5,446,728
Members
405,414
Latest member
wayne_p

This Week's Hot Topics

Top