Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Help With Time Sheet Formula


Im using the following formula and it works, however I need to modify it to
cover an additional condition. My formula is:

IF(E25-F19-E22<=0,0,E25-F19-E22)


I want the above to occur unless cell J3 is equal to €œE€. If cell J3 = €œE€,
instead of performing the above calculation I need €œN/A€ inserted.



Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Help With Time Sheet Formula

Hi Becky

=IF(J3="E",NA(),IF(E25-F19-E22<=0,0,E25-F19-E22))

or simplified to
=IF(J3="E",NA(),MAX(0,E25-F19-E22))


--
Regards

Roger Govier


"BECKYB913" wrote in message
...

I'm using the following formula and it works, however I need to modify
it to
cover an additional condition. My formula is:

IF(E25-F19-E22<=0,0,E25-F19-E22)


I want the above to occur unless cell J3 is equal to "E". If cell J3
= "E",
instead of performing the above calculation I need "N/A" inserted.



Thanks.




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Help With Time Sheet Formula

=IF(J3="E",NA(),IF(E25-F19-E22<=0,0,E25-F19-E22))
or replace NA() by "N/A" if you actually want the text string N/A rather
than the error value #N/A
--
David Biddulph

"BECKYB913" wrote in message
...

I'm using the following formula and it works, however I need to modify it
to
cover an additional condition. My formula is:

IF(E25-F19-E22<=0,0,E25-F19-E22)

I want the above to occur unless cell J3 is equal to "E". If cell J3 =
"E",
instead of performing the above calculation I need "N/A" inserted.

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Help With Time Sheet Formula

Or you could simplify =IF(J3="E",NA(),IF(E25-F19-E22<=0,0,E25-F19-E22)) to
=IF(J3="E",NA(),MAX(E25-F19-E22,0))
--
David Biddulph

"David Biddulph" wrote in message
...
=IF(J3="E",NA(),IF(E25-F19-E22<=0,0,E25-F19-E22))
or replace NA() by "N/A" if you actually want the text string N/A rather
than the error value #N/A


"BECKYB913" wrote in message
...

I'm using the following formula and it works, however I need to modify it
to
cover an additional condition. My formula is:

IF(E25-F19-E22<=0,0,E25-F19-E22)

I want the above to occur unless cell J3 is equal to "E". If cell J3 =
"E",
instead of performing the above calculation I need "N/A" inserted.

Thanks.





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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Formula to deduct unpaid breaks in time sheet Rick Excel Discussion (Misc queries) 3 August 26th 05 11:53 PM
Excel formula for a time sheet HRMSN Excel Worksheet Functions 1 August 10th 05 03:07 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
How do I set up a formula on a time sheet to calculate time in 1/. gschmid Excel Discussion (Misc queries) 2 January 18th 05 01:48 PM


All times are GMT +1. The time now is 10:41 AM.

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

About Us

"It's about Microsoft Excel"