2

can you please help me maybe with basic question about refering to changing data in excel on the other sheet? The thing is: I have a vlookup in Sheet 2 and in the Sheet 1 I import data from txt.

For every new instance I delete data in Sheet 1 and import new data to the same sheet. After I do this - Excel stops to work and shows error in reference, because the data is previous data is missing. But I want to preserve the same references such as A1, B2, etc. together with new imported data.

Thank you for your help. Barbora

6
  • Sorry, for misunderstanding - I only clear it. Butthe references are not kept. Commented Oct 30, 2015 at 11:59
  • 1
    gotcha, do you delete rows / columns? or only cell contents? are you using VBA? Commented Oct 30, 2015 at 12:01
  • Well, I delete them and the import another data. Do you think that only emptying them would help? Commented Oct 30, 2015 at 12:06
  • 1
    for sure, that would not create #REF Commented Oct 30, 2015 at 12:12
  • Yes! it helped! Thank you, I knew it would be a tricky small bastard :D Thanky you a lot! Commented Oct 30, 2015 at 12:12

1 Answer 1

1

To avoid creating reference errors, clear the contents of the cells, rather than deleting the actual rows, columns, and / or cells...

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.