Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Trying to check two cells to see if either is blank or has the text "n/a" in
them and not do the calculation. Using the formula so far =IF(OR(F60="",(E60=""))," ",MOD(F60-E60,1)). I am working with time formated cells 00:00 determining time between events. If I add to the formula i.e. ,(F60="n/a" Excel says there is an error. TIA |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Maybe you could just check for numbers (including times & dates) in both E60 and
F60: =if(count(f60:e60)<2,"",mod(f60-e60,1)) Meebers wrote: Trying to check two cells to see if either is blank or has the text "n/a" in them and not do the calculation. Using the formula so far =IF(OR(F60="",(E60=""))," ",MOD(F60-E60,1)). I am working with time formated cells 00:00 determining time between events. If I add to the formula i.e. ,(F60="n/a" Excel says there is an error. TIA -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try it like this:
=IF(COUNT(E60,F60)=2,MOD(F60-E60,1),"") -- Biff Microsoft Excel MVP "Meebers" wrote in message ... Trying to check two cells to see if either is blank or has the text "n/a" in them and not do the calculation. Using the formula so far =IF(OR(F60="",(E60=""))," ",MOD(F60-E60,1)). I am working with time formated cells 00:00 determining time between events. If I add to the formula i.e. ,(F60="n/a" Excel says there is an error. TIA |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
TX to Dave and Biff....both work...continuing to test for exceptions...
"T. Valko" wrote in message ... Try it like this: =IF(COUNT(E60,F60)=2,MOD(F60-E60,1),"") -- Biff Microsoft Excel MVP "Meebers" wrote in message ... Trying to check two cells to see if either is blank or has the text "n/a" in them and not do the calculation. Using the formula so far =IF(OR(F60="",(E60=""))," ",MOD(F60-E60,1)). I am working with time formated cells 00:00 determining time between events. If I add to the formula i.e. ,(F60="n/a" Excel says there is an error. TIA |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
both work...continuing to test for exceptions...
There will be no exceptions! <g Thanks for the feedback! -- Biff Microsoft Excel MVP "Meebers" wrote in message ... TX to Dave and Biff....both work...continuing to test for exceptions... "T. Valko" wrote in message ... Try it like this: =IF(COUNT(E60,F60)=2,MOD(F60-E60,1),"") -- Biff Microsoft Excel MVP "Meebers" wrote in message ... Trying to check two cells to see if either is blank or has the text "n/a" in them and not do the calculation. Using the formula so far =IF(OR(F60="",(E60=""))," ",MOD(F60-E60,1)). I am working with time formated cells 00:00 determining time between events. If I add to the formula i.e. ,(F60="n/a" Excel says there is an error. TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |