Hello
i wonder why Vlookup shows "Value not available error", although the relevant value is available and same format.
Sheet attached, all #N/A already have corresponding values
Thanks in adbance
Hello
i wonder why Vlookup shows "Value not available error", although the relevant value is available and same format.
Sheet attached, all #N/A already have corresponding values
Thanks in adbance
And what is the "Column1" value on cell E19
You are looking for an exact match and must therefore include FALSE as a fourth argument
=VLOOKUP(D20,A:B,2,FALSE))
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
The cells are formatted as Text. Use General or Number and you need to include the 4th 'False' parameter in the VLOOKUP
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star icon below the post.
Because you did not include the last argument for vlookup - is your data sorted (1) or not (0). So excel was seaching to where it thought the match would be, if it couldnt find it in a SORTED range, it returned the cell above
=VLOOKUP(D2,A:B,2,0)
this works, but if all you want is the row number, try this, no helper needed...
=MATCH(D2,$A$2:$A$1334,0)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Actually i want it to match the value of the first match
so if there are 3 identical values, i want to pick the first one
the first column of the specified range is sorted, i want closest match for search_key be returned.
your formula...
=VLOOKUP(D2,A:B,2)
is simply nor working. the result...1333...is just teh last row in your range, and that contains HLXU 3684505, so it is not actually matching with anything.
either the vlookup or the match that I suggested, is doing exactly what you said you wanted.
Many thanks, i got it
Great, happy to help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks