Stop formula from changing

Rubber Beaked Woodpecker

Board Regular
Joined
Aug 30, 2015
Messages
205
Office Version
  1. 2021
Everytime I insert a new column the following formula moves on one column so that

=IFERROR(@INDEX(2:2,AGGREGATE(14,6,COLUMN(2:2)/(2:2<>""),COLUMNS(A$2:$A$2))),"")

becomes

=IFERROR(@INDEX(2:2,AGGREGATE(14,6,COLUMN(2:2)/(2:2<>""),COLUMNS(B$2:$B$2))),"")

I would like the formula to stay as it was. I have tried using indirect with no joy looking for a little help please.

Thanks

RBW
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
What cell is this formula in?
Are you dragging this formula right/down/nowhere?
 
Upvote 0
Thanks. I'm having trouble imagining what you are starting with, where you are inserting columns, what data (if any) you are putting in those new columns, what new results you want and where etc.

Can you give us a few small samples with XL2BB that might demonstrate some of those things and provide new explanation in relation to the specific sample data provided? You can hide most of the rows between row 2 and row 102 before creating the XL2BB samples. Just leave a few rows at the top and a few rows at the bottom that shows what is/should be happening.
 
Upvote 0

Forum statistics

Threads
1,224,844
Messages
6,181,294
Members
453,030
Latest member
PG626

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