Help cell refernece not to delete when delete columns on another sheet

pkam2010

New Member
Joined
Mar 29, 2019
Messages
19
HI

can someone help. i have a formalu below

=IFERROR(INDEX('sheet2'!$A$5:$S$32,MATCH('sheet1'!B19,'sheet2'!$A$5:$A$17,0),5),"")

however when i need to add/dleete some columns in sheet2 and but i want it to stay and look at the above, but when i add/delete the columns the cells it is referencing to changes to #REF !

how do i stop this from happening
 

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.
With the formula in Sheet1 -- Try:

=IFERROR(INDEX(INDIRECT("sheet2!$A$5:$S$32"),MATCH(B19,INDIRECT("sheet2!$A$5:$A$17"),0),5),"")
 
Upvote 0
Hi

it is not returning anything, the cell is blank.

when i delete/add rows its great it still loking at the cells in sheet2 but it is not bring up that value it is suppose to find the cell is just blank.
 
Upvote 0
HI

can someone help. i have a formalu below

=IFERROR(INDEX('sheet2'!$A$5:$S$32,MATCH('sheet1'!B19,'sheet2'!$A$5:$A$17,0),5),"")

however when i need to add/dleete some columns in sheet2 and but i want it to stay and look at the above, but when i add/delete the columns the cells it is referencing to changes to #REF !

how do i stop this from happening

OK, let's try this again.. I assume (at some point) the above Formula worked OK. Right?
So what exactly are you doing in your sheet2 - be specific - tell me exactly column and row what
are you doing to cause the formula "to break", or produce the #REF !? Post back...

Jim
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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