LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Help with formula

Thank you for the feedback.

"Richard" wrote:

Yes!!! Thanks so much. Works perfect.

"Toppers" wrote:

Richard,
My reading of the formulae is that A9 has days (whole
/half) and SUM(D:D) has hours, and a day is 8 hours.

If this is correct, perhaps something like this is what is required i.e.
Convert the days to hours, subtract the SUM(D:D) hours and then convert
result to days /hours. If you want results to nearest whole/half day then you
will need to adjust the formula.

=INT((A9*8-SUM(D:D))/8) &" Days " & MOD((A9*8-SUM(D:D)),8) &" Hours"

OR

=INT(CEILING((A9*8-SUM(D:D)),4)/8) &" Days " &
MOD(CEILING((A9*8-SUM(D:D)),4),8) &" Hours"

Your current formual in A12 effectively only calculates days/hours on
SUM(D:D) and "ignores" A9.

HTH

"Richard" wrote:

Sometimes A4 has less than a whole number such as .5 The .5 is actually 4
hours.
This formula works fine except when there ia a half day.
Here is the formula that sometimes has a half day:
"A4"=IF(DATEDIF(B16,TODAY(),"Y")11,20,VLOOKUP(DAT EDIF(B16,TODAY(),"Y"),K:L,2,0))

"A9"=A4+B3+F4+F5+F6

How can I get this formula to read like (1 Days 4 hours), It now reads
like(1.5 days 0 hours)
Here is the formula giving me the problem
"A12" =A9-CEILING(SUM(HList!D:D)/8,1)&" Days "&MOD(8-SUM(HList!D:D),8)&"
hours"


 
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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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