Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Nested Functions Help

I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Nested Functions Help

Try it this way:

=IF(OR(G18=0,G188),0,8-G18)

Hope this helps.

Pete

On Oct 13, 4:46*pm, Swtmelly
wrote:
I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18) *

If the employee doesn't work then I'm also getting answer '8'. *How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Nested Functions Help

One way:

=IF(COUNT(G18),IF(G188,0,8-G18),"")

--
Biff
Microsoft Excel MVP


"Swtmelly" wrote in message
...
I have a time sheet calculating comp t time used if hours worked (G18)
under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get
the
answer '0.00' or a blank cell?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Nested Functions Help

=IF(G18="","",IF(G188,0,8-G18))
--
David Biddulph


"Swtmelly" wrote in message
...
I have a time sheet calculating comp t time used if hours worked (G18)
under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get
the
answer '0.00' or a blank cell?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Nested Functions Help

=(G8<8)*(G80)*ISNUMBER(G8)*(8-G8)
--
John C


"Swtmelly" wrote:

I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Nested Functions Help

We have a WINNER!! Thank you so much!

"John C" wrote:

=(G8<8)*(G80)*ISNUMBER(G8)*(8-G8)
--
John C


"Swtmelly" wrote:

I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Nested Functions Help

You are welcome, and thanks for the feedback (all the other responses would
work too). Don't forget to check the little YES box below :)
--
John C


"Swtmelly" wrote:

We have a WINNER!! Thank you so much!

"John C" wrote:

=(G8<8)*(G80)*ISNUMBER(G8)*(8-G8)
--
John C


"Swtmelly" wrote:

I have a time sheet calculating comp t time used if hours worked (G18) under
8 (based on time in and out)

=IF(G188,0,8-G18)

If the employee doesn't work then I'm also getting answer '8'. How can I
fix the formula so that if there are no times logged in or out I can get the
answer '0.00' or a blank cell?

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
Nested IF Functions Kelly Excel Worksheet Functions 4 March 10th 08 02:39 PM
Nested Functions Bryan Potter Excel Discussion (Misc queries) 7 February 22nd 07 09:11 PM
nested if(and) functions Rohan Excel Discussion (Misc queries) 3 August 12th 05 01:30 AM
Nested Functions Mindie Setting up and Configuration of Excel 1 February 16th 05 03:38 AM
Too many nested functions F6Hawk Excel Worksheet Functions 4 November 9th 04 04:38 AM


All times are GMT +1. The time now is 04:45 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"