Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have entered a
formula,=IF((OR(E21="",C21="")),0,IF((E21<C21),((E 21-C21)*24)+24,(E21-C21)*24))+IF((OR(I21="",F21="")),0,IF((I21<F21),(( I21-F21)*24)+24,(I21-F21)*24)) in timecards but I would like it to leave cell blank if there are no enteries,how do I do this? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Add IF(CELL="","",ELSE).. I am not sure what cell you want look at, if
there is multiple then add this for each cell.. I think this is what you want IF(OR(E21="",C21=""),"",IF((E21<C21),((E21-C21)*24)+24,(E21-C21)-24)) this is only the first part |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try:
=IF(AND(E21="",C21=""),"",your formula without the leading equals sign) Regards Trevor "Tara Martin" <Tara wrote in message ... I have entered a formula,=IF((OR(E21="",C21="")),0,IF((E21<C21),((E 21-C21)*24)+24,(E21-C21)*24))+IF((OR(I21="",F21="")),0,IF((I21<F21),(( I21-F21)*24)+24,(I21-F21)*24)) in timecards but I would like it to leave cell blank if there are no enteries,how do I do this? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Maybe something like
=IF(COUNT(,C21,E21,F21,I21)=0,"",MOD(E21-C21,1)*24+MOD(I21-F21,1)*24) -- Regards, Peo Sjoblom http://nwexcelsolutions.com "Tara Martin" <Tara wrote in message ... I have entered a formula,=IF((OR(E21="",C21="")),0,IF((E21<C21),((E 21-C21)*24)+24,(E21-C21)*24))+IF((OR(I21="",F21="")),0,IF((I21<F21),(( I21-F21)*24)+24,(I21-F21)*24)) in timecards but I would like it to leave cell blank if there are no enteries,how do I do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you print showing formulas in Excel 2000? | Excel Discussion (Misc queries) | |||
Printing Excel Formulas without file paths updating | Excel Discussion (Misc queries) | |||
Help, Urgent Excel Formulas are not calculating | Excel Discussion (Misc queries) | |||
I want Excel to allow cells with formulas and unrelated text | Excel Discussion (Misc queries) | |||
Problems with Excel formulas when 2002 upgraded to XP | Excel Worksheet Functions |