Formula not finding answer

Art14501

New Member
Joined
Nov 5, 2016
Messages
7
Hi everyone,

I have a problem with a excel sheet, I am using both for inventory purposes. I download the new inventory and have to input the new value so that the shop will have the right inventory count. The problem is that the formula is not recognizing the value from the new sheet. Even when they are right next to each other. The formula I am using is =IFERROR(VLOOKUP(C2,A:B,2,FALSE),"No match"). I select the columns and converted the data to text to see if that was the problem but it still showing an error. I tried to recreate the table below. What do you think is the problem? Any help will be greatly appreciated!


Product #New QuantityOld Product #Formula
A5AError
B2EError
F8GError
G6BError

<tbody>
</tbody>
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi everyone,

I have a problem with a excel sheet, I am using both for inventory purposes. I download the new inventory and have to input the new value so that the shop will have the right inventory count. The problem is that the formula is not recognizing the value from the new sheet. Even when they are right next to each other. The formula I am using is =IFERROR(VLOOKUP(C2,A:B,2,FALSE),"No match"). I select the columns and converted the data to text to see if that was the problem but it still showing an error. I tried to recreate the table below. What do you think is the problem? Any help will be greatly appreciated!


Product #New QuantityOld Product #Formula
A5AError
B2EError
F8GError
G6BError

<tbody>
</tbody>
try this
=IF(ISERROR(VLOOKUP(C2,A:B,2,FALSE)),"No match",VLOOKUP(C2,A:B,2,FALSE))
 
Upvote 0
your formula works fine for me I copied your table to a new sheet and your formula. not sure why yours is not working
 
Upvote 0
Thank you @Drrellik and @snjpverma, I found the problem with my sheet. In Column A, the values had a trailing white space making it a different value than that of my inventory sheet. And because trailing spaces don't show up at all, I didn't figure it out till much later. Thanks again for the help!
 
Upvote 0
If you have not changed the format in your table, then it looks like the entries in New may be text and not numeric (no that this should stop the formula from working though)

Take a quick look for leading/trailing spaces in the A and C columns, especially those cells you know should match

edit: haha that will teach me to read all posts in a thread LOL
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,255
Members
448,556
Latest member
peterhess2002

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