# Can't make it work?

#### agoodson1956

##### Board Regular
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"

### Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

#### mumps

##### Well-known Member
Try: =IF(H8 < D2,"Not Ready",IF(AND(H8 > D2,H8 < F2),"AllMost",IF(H8 > F2,"Done")))

Last edited:

#### agoodson1956

##### Board Regular
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
What values do the formulas return in cells D2, F2 and H8?

#### agoodson1956

##### Board Regular
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
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
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
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]

Threads
1,089,877
Messages
5,410,924
Members
403,334
Latest member
SH2020