Data reference changes if new column is added

RodneyC

Active Member
Joined
Nov 4, 2021
Messages
278
Office Version
  1. 2016
Platform
  1. Windows
I have this formula in cell C501 =SUMIFS(H$2:H$490, $C$2:$C$490, $B501)

Column H represents the most current month. At the end of a month, I insert a new column between G and I, creating a new column H. I need the formula above to pull data from the new column H. Doing so changes the formula from this
=SUMIFS(H$2:H$490, $C$2:$C$490, $B501)
to this =SUMIFS(I$2:I$490, $C$2:$C$490, $B501)

I need it to stay focused on column H. I've tried this
=SUMIFS($H$2:$H$490, $C$2:$C$490, $B501) and the same thing happens, it changes to this =SUMIFS($I$2:$I$490, $C$2:$C$490, $B501)

How can I anchor the data to pull from column H as I'm adding a new one every month.

Thank you in advance
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
How about
Excel Formula:
=SUMIFS(INDEX($A$2:$H$490,,8), $C$2:$C$490, $B501)
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top