Below is a "vlookup" formula I wrote with the lookup-table located in another workbook.
=VLOOKUP(A7;'[Lookup Table med Formel.xlsm]LookupTable'!$A$2:$B$686;2)
It works fine, however I want the Lookup-table range (the "$A$2:$B$686" part in the formula) to automatically expand when posts are added to the table. Does anyone have a suggestion as to how to write the formula in order to accomplish this?
I have tried
=VLOOKUP(A7;OFFSET('[Lookup Table med Formel.xlsm]LookupTable'!$A$2;0;0;COUNTA(VLookupTable!$A:$A);2);2)
I'm pretty sure the correct formula will be more or less what I've wrote above, but I've had all maner of problems making it work, either it says that I use to many arguments for the function, or it returns the wrong value from the lookup-table, or I get an annoying request to update something or another.
I would highly appreciate it if someone could help me out with this!
PS, note that in the formula I use ";" instead of the normal ",". This is intentional and is the excel setting I use.
Thank you in advance!
=VLOOKUP(A7;'[Lookup Table med Formel.xlsm]LookupTable'!$A$2:$B$686;2)
It works fine, however I want the Lookup-table range (the "$A$2:$B$686" part in the formula) to automatically expand when posts are added to the table. Does anyone have a suggestion as to how to write the formula in order to accomplish this?
I have tried
=VLOOKUP(A7;OFFSET('[Lookup Table med Formel.xlsm]LookupTable'!$A$2;0;0;COUNTA(VLookupTable!$A:$A);2);2)
I'm pretty sure the correct formula will be more or less what I've wrote above, but I've had all maner of problems making it work, either it says that I use to many arguments for the function, or it returns the wrong value from the lookup-table, or I get an annoying request to update something or another.
I would highly appreciate it if someone could help me out with this!
PS, note that in the formula I use ";" instead of the normal ",". This is intentional and is the excel setting I use.
Thank you in advance!