Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SLSTAR
 
Posts: n/a
Default Displaying YTD totals as you populate monthly information

I have a worksheet with a "YTD" use table which is fed from information on a
secondary monthly meter reading table. The YTD subtracts the current month's
reading from the prior month's reading.

The problem is once I enter the actual use for one month, say Dec. then Jan
YTD shows that meter reading since there is no data for Jan in the use table
yet. My YTD formula (in essence) says subtract Jan reading from Dec reading
to get an amt used. Is there any way to keep the YTD from displaying the one
month's reading until both month's have been entered to get the actual use?
  #2   Report Post  
Fred Smith
 
Posts: n/a
Default

Use the If function to check for data in the cell first, as in:

=if(b1="","",b1-a1)

--
Regards,
Fred
Please reply to newsgroup, not e-mail


"SLSTAR" wrote in message
...
I have a worksheet with a "YTD" use table which is fed from information on
a
secondary monthly meter reading table. The YTD subtracts the current
month's
reading from the prior month's reading.

The problem is once I enter the actual use for one month, say Dec. then
Jan
YTD shows that meter reading since there is no data for Jan in the use
table
yet. My YTD formula (in essence) says subtract Jan reading from Dec
reading
to get an amt used. Is there any way to keep the YTD from displaying the
one
month's reading until both month's have been entered to get the actual
use?



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
Extracting info from word and displaying in an excel spreadsheet Drew Excel Discussion (Misc queries) 0 March 7th 05 04:49 AM
How do I select cells and make the info populate into a form? jompeters Excel Worksheet Functions 0 January 7th 05 10:43 PM


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