VLOOKUP Not working

Faiek

New Member
Joined
May 2, 2011
Messages
48
Hey All,
I have made a VLOOKUP Code to find a value on another page. It works with one value and shows the correct "Description" and "Cross Value Number". It is suppost to work Vise-versa but It does not, the only thing altered is the columns number. The code for the working one is:

Code:
=VLOOKUP(C4, Crossreftable, 2, FALSE)

For the non-working one is:

Code:
=VLOOKUP(C4, Crossreftable, 1, FALSE)

I'd appreciate if anyone can help with this matter.

Thanks,
Faiek
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Faiek,

Your Crossreftable contains two columns "Description" and "Cross Value Number".

With:
=VLOOKUP(C4, Crossreftable, 2, FALSE)

You are looking up what is in C4, which is in the "Description" column, and returning the 2, which refers to the "Cross Value Number" column.

This will work as long as C4 contains a value in the "Description" column.


With:
=VLOOKUP(C4, Crossreftable, 1, FALSE)

This would return an error.

You would have to use Index with Match to search the "Cross Value Number" column, and return the value in the "Description" column.


To help to clarify the above, can we have a screenshot of the "Crossreftable".

You will generally get much more help (and faster) in this forum if you can post your small samples (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:
 
Last edited:
Upvote 0
Faiek,

You are very welcome. Come back anytime.

The following INDEX MATCH formula should be easier to use.


Excel Workbook
CDEFGHI
1Crossreftable
2aaa2
3bbb3
4ccc4ccc4
5ccccccddd5
64#N/A
74ccc
8
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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