Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tara Martin
 
Posts: n/a
Default Help with Excel formulas

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Help with Excel formulas

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Trevor Shuttleworth
 
Posts: n/a
Default Help with Excel formulas

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Help with Excel formulas

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you print showing formulas in Excel 2000? Kim Excel Discussion (Misc queries) 3 June 16th 08 09:56 PM
Printing Excel Formulas without file paths updating Kim Excel Discussion (Misc queries) 0 August 18th 05 04:55 PM
Help, Urgent Excel Formulas are not calculating maashoff Excel Discussion (Misc queries) 1 May 3rd 05 12:25 AM
I want Excel to allow cells with formulas and unrelated text blueboy Excel Discussion (Misc queries) 9 March 4th 05 12:22 AM
Problems with Excel formulas when 2002 upgraded to XP Kathi McGraw Excel Worksheet Functions 0 November 16th 04 05:27 PM


All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"