how to prevent cell referances from being deleted

Dark0Prince

Active Member
Joined
Feb 17, 2016
Messages
433
I have a table of data and when I delete the 5th row the data is replaces from row 6 because it moved up. How can I make sure my referances stay the same instead of showing #REF !
Below is an example of two formulas I've tried.

Code:
=PROPER(IFERROR(INDEX(PIF_REPORT!$H$5,MATCH(PIF_REPORT!$H$4,PIF_REPORT!$H$4,0)),""))&" " & PROPER(PIF_REPORT!$I$5)

This one had an issue of adding up every cell it can in that column instead of just the first row. (eg. all first & last names in one cell)
Code:
=PROPER(CONCAT(Table_Query_from_DEF[First_Name]," ",Table_Query_from_DEF[Last_Name]))
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I found something that was working for a little while until I can to my search formula. OFFSET worked up until I hit this formula and I don't know how to add it to this one.
Code:
=IF(ISNUMBER(SEARCH("15250E",PIF_REPORT!B5)),"NOT FOUND")
I'd like OFFSET to start at B4 and only go down 1 row to look for the 15250E.
I Tried this but I get an error:
Code:
=IF(OFFSET(SEARCH("15250E",)PIF_REPORT!$B$4,1,0,1,1),"Advantage Billing Manager")
The reason I can't use the search formula but itself is because in my table the data keeps moving around and my headers don't.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,214
Members
453,024
Latest member
Wingit77

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