Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

Adding Colums from yesterday

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Hopper - 10 Sep 2006 04:29 GMT
I have created a daily report to track revenue and marketing
information.  This report includes columns titlted

Today        Month to Date        Year to Date

Is there a formula that will automatically add the "Today" column to
yesterday "Month to Date" and "Year to Date" columns bringing the MTD
and YTD columns current.

Thanks

David Hopper
Roger Govier - 10 Sep 2006 09:29 GMT
Hi David

I presume you have missed out a column and what you really have is
Date    Value    MTD    YTD
where column B holds the value that you want summed.

If so, cell C2  =B2,  cell D2  =B2
In cell C3
=IF(A3="","",IF(MONTH(A3)<>MONTH(A2),B3,C2+B3))
in cell D3
=IF(A3="","",IF(YEAR(A3)<>YEAR(A2),B3,D2+B3))
Copy both formulae down as far as required
Signature

Regards

Roger Govier

>I have created a daily report to track revenue and marketing
> information.  This report includes columns titlted
[quoted text clipped - 8 lines]
>
> David Hopper

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.