VLOOKUP when the look up value is the output of a formula

original goose

New Member
Joined
Nov 14, 2007
Messages
5
I am running a VLOOKUP, my look up value is a number that is derived from the output of a formula. For some reason the VLOOKUP does not work when the look up value is derived this way. if I manually type in the number it works. It also works when the look up value is a letter, also derived from the output of a formula.

Any suggestions on how I can get this to work when the formula output is a number?

Thanks
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
How would this work if the col_index_num is a formula?

=VLOOKUP(F4,'Hoffman Numbers'!C6:D10,2,FALSE)
 
Upvote 0
How would this work if the col_index_num is a formula?

=VLOOKUP(F4,'Hoffman Numbers'!C6:D10,2,FALSE)
Welcome to the MrExcel board!

It should be fine having a formula to calculate the column index number. If you need help with that, what about you give us some (smallish) dummy sample data that shows what sort of variety is in your data and explain in relation to that exactly what you are trying to achieve?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,624
Members
449,240
Latest member
lynnfromHGT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top