![]() |
#1
|
|||
|
|||
![]()
I have two workbook and i managed to perform vlookup on both of them. However, i have issues with the formula not working when new record is added on both workbook. I tried using dynamic name range, offset and it works but my lecturer said that my formula was wrong and told that I only needed vlookup function. I was like surprised so I tried to google search but no dice. Is there a way to make vlookup works when new record is added without using any function other than vlookup? Thx.
|
#2
|
|||
|
|||
![]()
Well let's say your Vlookup is =VLOOKUP(A1,$D$1:$E$8,2,0)
If you add a record to row 9, the VLOOKUP would fail because it is not a dynamic range. So instead, reference the entire column =VLOOKUP(A1,$D:$E,2,0) |
#3
|
||||
|
||||
![]() Quote:
You VLOOKUP would look something like =VLOOKUP("ab";Table1[#All];2;0) with a table And I also think that using entire columns is not the best way to go as it forbids you to use those columns for other things than extending your data source
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#4
|
|||
|
|||
![]() Quote:
Quote:
|
#5
|
|||
|
|||
![]()
You're very welcome.
I agree, the entire column reference might be overkill, so instead of $D:$E you could extend to a reasonable length which would catch the new adds. Maybe $D$1:$E$200 would suffice |
#6
|
||||
|
||||
![]()
I'm sure Jeff's solution will be OK'd
![]()
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#7
|
|||
|
|||
![]()
Thx guys for all your help. My lecturer finally satisfied with my formula lol.
|
#8
|
|||
|
|||
![]()
Great news
![]() What solution did you offer that worked? |
#9
|
|||
|
|||
![]()
I used your suggestion and changed the table array so that it referred to the whole column.
|
#10
|
|||
|
|||
![]() |
#11
|
|||
|
|||
![]() Quote:
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
heastlund | Excel | 3 | 08-04-2014 01:34 PM |
![]() |
SBMC | Excel | 1 | 11-07-2012 10:24 AM |
![]() |
Becki | Excel | 2 | 04-06-2012 05:32 PM |
Vlookup | ibrahimaa | Excel | 8 | 01-03-2012 09:32 PM |
Vlookup | Karen615 | Excel | 4 | 09-12-2011 02:30 PM |