Parentheses character causes Vlookup fail - standard character set?

Emerlin

Board Regular
Joined
Jan 8, 2007
Messages
117
Office Version
  1. 2016
Platform
  1. Windows
Hi,

I have a Vlookup the fails because it appears that Excel thinks the () are different characters. Is there anyway to handle this?

Thanks.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi,

They ARE different ... char(40) ... and ... char(41)

HTH
 
Upvote 0
I realized the right and left are different characters I am talking about parentheses that have been copied in from other source.

The parentheses look exactly the same but Excel treats them differently
 
Last edited:
Upvote 0
What is the ASCII code of the suspect parentheses?

Thank you for your help. I tried the =code to find it. I assume that is the correct action.

I get =40 on both.... so I assume the means they are the same. Something is making the vlookup fail, when I copy the parenthesis in it works, so I assumed that was it. I will keep looking.
 
Upvote 0
It looks like it is the space. On the web copied value it is 32, but the excel value is 160. I guess I could to a find and replace spaces?
 
Upvote 0
Thanks Mike - you have pointed me in the right direction. I now understand the non-breaking 160. I will have to have a helper column/sheet to fix this. What is strange is some of the spaces from the source are 32 and some are 160.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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