LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default figure out why this formula isn't calculating correctly

Here's the formula:

=IF(OR(ISTEXT(R15),ISTEXT(R16)),0+Q19,(R16+R15)+Q1 9)

R15 = 2, R16 = 8, Q19 = 96

The calculation should be 2 + 8 + 96 = 106, but it's giving me 107.

Here's where I think the error is occurring: the 2 and the 8 are calculated
based off the amount of time between two points during the day; 8 hours of
regular and 2 hours of overtime, or 10 hours of labor. That 10 hours is
calculated as follows:

=IF(ISBLANK(R13),"",(R13-R12)*24) where R13 = 6:30PM and R12 = 8:30 AM

So, if we go back to the first formula, this is where I get lost.
Obviously, somewhere, somehow, Excel is rounding but there's nothing to
round: 8:30AM - 6:30PM is 10 hours, even.

Ideas?

--
Brevity is the soul of wit.
 
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
Weekday formula calculating to end of month DebbieK Excel Worksheet Functions 0 July 26th 06 08:08 PM
CALCULATING A FORMULA TO USE A SPECIFIC CELL'S VALUES PaulH-Oz Excel Worksheet Functions 0 March 26th 06 11:50 PM
formula returns (correctly) a negative value brit64 Excel Discussion (Misc queries) 5 September 19th 05 08:56 AM
Formula for calculating age Kathy Excel Discussion (Misc queries) 3 July 23rd 05 04:56 PM
How do figure excel formula out? rlrlatr35 Excel Discussion (Misc queries) 2 January 3rd 05 06:11 AM


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