![]() |
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. |
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 |
All times are GMT +1. The time now is 02:19 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com