When updating data from text file to Excel, my vlookup formula changes











up vote
0
down vote

favorite












I have a data connection from A:J. In Columns K:L, I have a vlookup formula on one of the A:J columns. When I refresh with a new set of data, if the # of rows changes, the formula loses count of which row it's in. For example, vlookup in Row 109 would change to 130. It's as if the rows containing formulas in between (110-129) were deleted. How do I prevent that?



I thought adding $ might help but can't find a way to do it easily so that every row has $ before the consecutive numbers.










share|improve this question






















  • For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
    – fixer1234
    Nov 18 at 22:07















up vote
0
down vote

favorite












I have a data connection from A:J. In Columns K:L, I have a vlookup formula on one of the A:J columns. When I refresh with a new set of data, if the # of rows changes, the formula loses count of which row it's in. For example, vlookup in Row 109 would change to 130. It's as if the rows containing formulas in between (110-129) were deleted. How do I prevent that?



I thought adding $ might help but can't find a way to do it easily so that every row has $ before the consecutive numbers.










share|improve this question






















  • For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
    – fixer1234
    Nov 18 at 22:07













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a data connection from A:J. In Columns K:L, I have a vlookup formula on one of the A:J columns. When I refresh with a new set of data, if the # of rows changes, the formula loses count of which row it's in. For example, vlookup in Row 109 would change to 130. It's as if the rows containing formulas in between (110-129) were deleted. How do I prevent that?



I thought adding $ might help but can't find a way to do it easily so that every row has $ before the consecutive numbers.










share|improve this question













I have a data connection from A:J. In Columns K:L, I have a vlookup formula on one of the A:J columns. When I refresh with a new set of data, if the # of rows changes, the formula loses count of which row it's in. For example, vlookup in Row 109 would change to 130. It's as if the rows containing formulas in between (110-129) were deleted. How do I prevent that?



I thought adding $ might help but can't find a way to do it easily so that every row has $ before the consecutive numbers.







microsoft-excel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 18 at 19:43









user2781658

1




1












  • For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
    – fixer1234
    Nov 18 at 22:07


















  • For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
    – fixer1234
    Nov 18 at 22:07
















For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
– fixer1234
Nov 18 at 22:07




For people who have never seen your spreadsheet (i.e., everyone reading this), it would be a lot less abstract and ambiguous, and easier to understand, if we could see your spreadsheet. Can you add a screenshot or mockup? What's "a data connection from A:J"? What is the vlookup formula? Where are you adding rows? If you add rows and Excel adjusts the affected formulas to reflect their new locations, that's basically how it's supposed to work. Help us understand why you need to to work differently.
– fixer1234
Nov 18 at 22:07










1 Answer
1






active

oldest

votes

















up vote
0
down vote













By data connection from A:J, I meant the data from my data connection was populating in these cells. The solution is fairly generic:



Click into where the text file data is being populated, click Properties, then check "Overwrite old cells" and "Fill down adjacent columns with formula". The other way I was doing was causing the cells adjacent to the data to be deleted when the data connection refreshed.






share|improve this answer

















  • 1




    Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
    – Bharat Anand
    Nov 19 at 2:38













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376512%2fwhen-updating-data-from-text-file-to-excel-my-vlookup-formula-changes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













By data connection from A:J, I meant the data from my data connection was populating in these cells. The solution is fairly generic:



Click into where the text file data is being populated, click Properties, then check "Overwrite old cells" and "Fill down adjacent columns with formula". The other way I was doing was causing the cells adjacent to the data to be deleted when the data connection refreshed.






share|improve this answer

















  • 1




    Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
    – Bharat Anand
    Nov 19 at 2:38

















up vote
0
down vote













By data connection from A:J, I meant the data from my data connection was populating in these cells. The solution is fairly generic:



Click into where the text file data is being populated, click Properties, then check "Overwrite old cells" and "Fill down adjacent columns with formula". The other way I was doing was causing the cells adjacent to the data to be deleted when the data connection refreshed.






share|improve this answer

















  • 1




    Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
    – Bharat Anand
    Nov 19 at 2:38















up vote
0
down vote










up vote
0
down vote









By data connection from A:J, I meant the data from my data connection was populating in these cells. The solution is fairly generic:



Click into where the text file data is being populated, click Properties, then check "Overwrite old cells" and "Fill down adjacent columns with formula". The other way I was doing was causing the cells adjacent to the data to be deleted when the data connection refreshed.






share|improve this answer












By data connection from A:J, I meant the data from my data connection was populating in these cells. The solution is fairly generic:



Click into where the text file data is being populated, click Properties, then check "Overwrite old cells" and "Fill down adjacent columns with formula". The other way I was doing was causing the cells adjacent to the data to be deleted when the data connection refreshed.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 18 at 23:27









user2781658

1




1








  • 1




    Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
    – Bharat Anand
    Nov 19 at 2:38
















  • 1




    Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
    – Bharat Anand
    Nov 19 at 2:38










1




1




Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
– Bharat Anand
Nov 19 at 2:38






Perhaps you intended to post this as a reply to fixer1234's comment. If so, please delete your answer and post the contents as a comment to your original question. Otherwise, people may not look at your question anymore since it has already got an "answer" posted in response
– Bharat Anand
Nov 19 at 2:38




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376512%2fwhen-updating-data-from-text-file-to-excel-my-vlookup-formula-changes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

Brian Clough

Cáceres