Forum Discussion
Simple VLOOKUP, but not working
- Sep 30, 2022
EmTBHC The problem is the lookup_range for all those cells keep changing and so some cells are looking up in ranges that don't have that value. I have attached an updated version using dynamic arrays and only 1 array formula for the whole range:
=VLOOKUP(D2:D97,Sheet1!$A$2:$B$391, 2, FALSE)
if you don't have excel 365 then change the D2:D97 to only D2 and then fill down. Since the D2 doesn't have any $ in front it will increment as it fills down but the range has those $ in front of the col and row so it will stay fixed when copied or filled.
This solution was also noted above but you said it didn't work for you but maybe you didn't understand the importance of those $
To "fill down" you can select the top cell and click the small box in the bottom right corner and drag down or select the whole range can click ctrl-D
EmTBHC The problem is the lookup_range for all those cells keep changing and so some cells are looking up in ranges that don't have that value. I have attached an updated version using dynamic arrays and only 1 array formula for the whole range:
=VLOOKUP(D2:D97,Sheet1!$A$2:$B$391, 2, FALSE)
if you don't have excel 365 then change the D2:D97 to only D2 and then fill down. Since the D2 doesn't have any $ in front it will increment as it fills down but the range has those $ in front of the col and row so it will stay fixed when copied or filled.
This solution was also noted above but you said it didn't work for you but maybe you didn't understand the importance of those $
To "fill down" you can select the top cell and click the small box in the bottom right corner and drag down or select the whole range can click ctrl-D
- EmTBHCSep 30, 2022Copper ContributorThat's amazing! Thank you so much for taking the time to help me with this, really appreciate it!