excel - How do I lock in a cell in a list into a formula, so that the formula won't lose it when I edit the list? -


i have list of employees stats, kind of job people come , go. i'm data , numbers make sense in world me. management not much. present data in separate worksheet in "nicer" way. want delete in list in way if refer cell in "nicer" worksheet, b64 example lets "sally" if delete row above it. sally's data becomes "john" data , other worksheet messed up. how avoid that.

the solution use indirect() function

if want cell reference a1 of sheet1 in nicer sheet, reference =+sheet1!a1. avoid #ref! problem on deletion use indirect function below

=indirect("sheet1!"&cell("address",a1)) 

now if delete rows in sheet1, nicer sheet not messed up; reference cells correctly in order how in sheet1 correctly in nicer sheet without #ref!


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -