Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JimR
 
Posts: n/a
Default Need help with an sum formula

I have 2 columns of figures, 2005 data and 2006 data. The data is entered in
monthly columns by day of the month. If March 2006 has 4 days of data
entered, I want to sum the same 4 days of 2005 data so I can eventually graph
it. The number of days will go up every time data is entered, and not all
days will have
data in them. The range of days in 2005 to sum will change any time a day
of data is entered into 2006.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Flintstone
 
Posts: n/a
Default Need help with an sum formula


Hello JimR

Because you’ve given no explanation for the location and relationship
between columns I can only guess at what your data might look like.
However, this might help you out.

=SUM(INDIRECT("A5:"&LEFT(ADDRESS(1,DAY(TODAY()),4) ,IF(DAY(TODAY())<27,1,2))&65536))

Paste this formula anywhere above row 5, will sum columns per day for a
month.

Matt


--
Flintstone
------------------------------------------------------------------------
Flintstone's Profile: http://www.excelforum.com/member.php...o&userid=15310
View this thread: http://www.excelforum.com/showthread...hreadid=519886

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
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
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 08:20 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"