APOSTROPHES EVERYWHERE

paquirl

Board Regular
Joined
Oct 12, 2010
Messages
226
Office Version
  1. 2016
Platform
  1. Windows
I was given a workbook to do some vlookups, and the cells are text, with the number i need but with an apostrophe in the front. It's this way on two columns I'm trying to concatenate. I am guessing the apostrophes are the problem? Help?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Are what problem? What happens when you try to concatenate the values? We need more information and sample data showing what the problem is and desired result.
 
Upvote 0
Concatenate and =right do not work , just the formula shows as result.
'636425'97504
 
Upvote 0
This is what I get with apostrophes in A1 and B1.

Book1 (version 1) 1-25-2024.xlsx
ABC
16364259750463642597504
Sheet8
Cell Formulas
RangeFormula
C1C1=CONCAT(A1,B1)
 
Upvote 0
Please explain what result you are trying to get, and what formula you are trying to use.

If the first character in a cell is an apostrophe, this forces Excel to interpret that cell as text rather than a number. But without more detail about your data and what you want to do it's hard to give you the best solution.

Are you allowed to edit the data? My first impulse would be to convert them to numbers. One way:
  1. Type 0 into any unused cell
  2. CTRL+c to copy the 0
  3. Select the cells with the apostrophes
  4. Paste Special, select the "Add" option
  5. Values will be converted to numbers
I don't understand how you are using VLOOKUP to concatenate data. I also don't understand why you would concatenate numbers.
 
Upvote 0
will DATA> text to columns work to remove the ' and leave as a number
delimited with '
in the column fo ryou
 
Upvote 0
i need the numbers combined into a single 11 digit number that i can then run vlookups against. the formulas are showing as the result
 
Upvote 0
i need the numbers combined into a single 11 digit number that i can then run vlookups against. the formulas are showing as the result
If you go to the Formulas tab, is "Show Formulas" selected?
1706287548174.png
 
Upvote 0
will DATA> text to columns work to remove the ' and leave as a number
delimited with '
in the column fo ryou
yes that removed the apostrophes in both a1 and b1, however when i run concat in c1, it still shows me the formula '=CONCATENATE(a1,b1) with an apostrophe in front
 
Upvote 0

Forum statistics

Threads
1,215,135
Messages
6,123,239
Members
449,093
Latest member
Vincent Khandagale

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