Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2015, 01:55 PM
dmac19 dmac19 is offline How to add columns without changing formula Windows 7 64bit How to add columns without changing formula Office 2010 64bit
Novice
How to add columns without changing formula
 
Join Date: Apr 2015
Posts: 3
dmac19 is on a distinguished road
Default How to add columns without changing formula

Hello

I have numbers in 12 columns Jan - Dec. I want to add Jan thru Mar and create an average. Next month I will want to expand this to include Apr data. Currently all the columns contain numbers (Actual and projected) I want to be able to add the actuals only.

For example:



Jan = 10, Feb =20 Mar = 30, Apr =40, etc The columns included in the formula will increase each month. I don't want to edit the formula each month.

Thanks in advance
Attached Files
File Type: xlsx Excel Question.xlsx (10.1 KB, 10 views)

Last edited by dmac19; 04-28-2015 at 04:57 AM.
Reply With Quote
  #2  
Old 04-28-2015, 02:04 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to add columns without changing formula Windows 7 64bit How to add columns without changing formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,776
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please post a sample sheet. Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 04-28-2015, 04:58 AM
dmac19 dmac19 is offline How to add columns without changing formula Windows 7 64bit How to add columns without changing formula Office 2010 64bit
Novice
How to add columns without changing formula
 
Join Date: Apr 2015
Posts: 3
dmac19 is on a distinguished road
Default

sorry file attached

Thanks
Reply With Quote
  #4  
Old 04-28-2015, 07:18 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline How to add columns without changing formula Windows 7 64bit How to add columns without changing formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,776
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

After replacing semi-colons with commas try
Code:
=SUM($C$8:INDEX($C$8:$N$8;;MATCH(TEXT(EOMONTH(TODAY();0);"mmm");$C$7:$N$7;0)))
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 04-28-2015, 02:27 PM
dmac19 dmac19 is offline How to add columns without changing formula Windows 7 64bit How to add columns without changing formula Office 2010 64bit
Novice
How to add columns without changing formula
 
Join Date: Apr 2015
Posts: 3
dmac19 is on a distinguished road
Default

Thanks - that worked. Swapped out the Today() function with a cell reference that allows me to change the dates

thanks again
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add columns without changing formula Need help with a VLOOKUP formula & two similar, yet non-identical columns of data. mikey386 Excel 1 12-18-2014 01:59 AM
How to add columns without changing formula Changing rows into columns paapachak Word Tables 8 01-06-2014 02:44 PM
Unhide Columns and Changing Column Names? Moira Excel 1 05-16-2013 03:37 PM
Changing Cell address within a formula vermont_past Excel 12 09-21-2012 12:15 PM
How to add columns without changing formula How to compare 2 columns with other two columns in EXECL 2007? Learner7 Excel 5 06-12-2010 09:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft