LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Formatting Formula Results


Here's what i'm looking at....



Col C Col D Col E
Row 9 08-28-06 2:28 PM 08-28-06 3:25 PM 0 days 0.95 hours

Col E is Derrived from this code --
=IF(D9<FALSE,IF(AND(INT(C9)=INT(D9),NOT(ISNA(MATC H(INT(C9),
HolidayList,0)))),"0 days 0 hours", IF(INT(C9)=INT(D9), "0 days " &
ROUND(24*(D9-C9),2)&" hours ", MAX(NETWORKDAYS(C9+1,D9-1,HolidayList),0)+
INT(24*(((D9-INT(D9))-(C9-INT(C9)))+
(DayEnd-DayStart))/(24*(DayEnd-DayStart)))& " days
"&MOD(ROUND(((24*(D9-INT(D9)))-24*DayStart)+
(24*DayEnd-(24*(C9-INT(C9)))),2), ROUND((24*(DayEnd-DayStart)),2))&" hours
")),"")


I need Col E to be formatted like this..... 0 Days 9 Hours 16 Minutes


I keep trying to set the format of the cells by using this.... d" Days "h"
Hours "mm" Minutes"


What am I doing wrong and why is it showing decimal values???


I'm also trying to add the total of every tenth row by using this....


=IF(E9<"",SUM(E9:E18),"") but for some reason it won't add, I keep getting
zeros.


Please help.
Thanks in Advance,
Rob

 
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 to calculate with formula results after formatting with =TEXT VickiMc Excel Worksheet Functions 3 September 21st 09 10:27 PM
Formatting Formula Results Rob Excel Programming 0 September 2nd 06 09:14 PM
formatting columns with formula results Erik Creyghton[_3_] Excel Programming 0 November 1st 05 09:32 PM
Formatting the Results of VLOOKUP LPS Excel Worksheet Functions 1 February 11th 05 02:15 PM
Formatting zero results from a formula CiaraG[_2_] Excel Programming 1 August 19th 03 04:24 PM


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