Prev Previous Post   Next Post Next
  #1   Report Post  
rvnwdr
 
Posts: n/a
Default problem adding


I am having a problem with adding a column of time values.

Column e has the time called out and is formated as Time 13:00.
Column f has the time in and is formated as Time 13:00.
Column g adds the total time which has a formula of -
=if(f10e10,f10-e10,1-(e10-f10))

Then I have Column g adding up to give me a total of time. It is
formated as Number. The formula is g=sum(g8:g26)*24

This all works great as long as there is actual time entered. However
when the cells in e & f as blank it still enters a total as it is
taking it as 0:00 which it is counting it as 24:00.

Can anyone tell me how to get around this problem? I would like to
display the total as 0 if there are no times entered. My spread sheet
has 20 rows in which I can enter information if needed otherwise they
sit blank....

Thanks


--
rvnwdr
------------------------------------------------------------------------
rvnwdr's Profile: http://www.excelforum.com/member.php...o&userid=23903
View this thread: http://www.excelforum.com/showthread...hreadid=377433

 
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
Adding summaries, rows and pre-population JFH New Users to Excel 1 May 24th 05 08:52 PM
Problem adding Series XValues to Chart using VBA Sean Curry Charts and Charting in Excel 0 March 14th 05 12:18 AM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
problem with adding columns of numbers jeri_g Excel Worksheet Functions 1 January 11th 05 03:25 PM


All times are GMT +1. The time now is 11:32 AM.

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"