Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One other guess ..
If H7 would contain textstrings such as the one you posted, ie: ":45" where you want to compare the number after the colon then you could try in say, I7: =IF(TRIM(H7)="","",IF(RIGHT(H7,LEN(H7)-SEARCH(":",H7))+0<=35,"On Target","Not on Target")) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "QA Queen" wrote: I've subtracted two dates and now I want to do a IF statement. Do I have to convert to numeric to do that? It's not bringing up correct values. At this time H7 equals :45. How do I get the formula to work? =IF(H7<=35,"On Target","Not on Target") |