ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   convert a value to a text incl apostrophe within the cell (https://www.excelbanter.com/excel-worksheet-functions/114630-convert-value-text-incl-apostrophe-within-cell.html)

Jakob

convert a value to a text incl apostrophe within the cell
 
Dear experts,
I need a workaround BW reporting and the use of pivot tables in Excel. BW
downloads e.g. material numbers incl an apostrophe e.g. '112233. However,
this apostrophe is only shown when you press F2, i.e. this is a text format.
From another excel file I have the material numbers as values e.g. 112233. I
need to convert this 112233 to '112233, but in a way so the apostrophe is
only shown when you press F2. I have tried several formulas e.g.
=concatenate, =text etc. and can easily get the '112233 with the apostrophe
shown, but not as "real" text.

Does really appreciate you help in this, thanks a 1000 times

Best
Jakob

Beege

convert a value to a text incl apostrophe within the cell
 
"Jakob" wrote in message
...
Dear experts,
I need a workaround BW reporting and the use of pivot tables in Excel. BW
downloads e.g. material numbers incl an apostrophe e.g. '112233. However,
this apostrophe is only shown when you press F2, i.e. this is a text
format.
From another excel file I have the material numbers as values e.g. 112233.
I
need to convert this 112233 to '112233, but in a way so the apostrophe is
only shown when you press F2. I have tried several formulas e.g.
=concatenate, =text etc. and can easily get the '112233 with the
apostrophe
shown, but not as "real" text.

Does really appreciate you help in this, thanks a 1000 times

Best
Jakob


Jakob

First insert a helper column.
=CHAR(39)&A1
Copy down
(should see '123344)
Select helper column
Copy
Paste special (in the same spot)/values
Search/replace ' with ' replace all - worked for me. HTH for you.

Beege






Beege

convert a value to a text incl apostrophe within the cell
 

"Beege" wrote in message
...
"Jakob" wrote in message
...
Dear experts,
I need a workaround BW reporting and the use of pivot tables in Excel. BW
downloads e.g. material numbers incl an apostrophe e.g. '112233. However,
this apostrophe is only shown when you press F2, i.e. this is a text
format.
From another excel file I have the material numbers as values e.g.
112233. I
need to convert this 112233 to '112233, but in a way so the apostrophe is
only shown when you press F2. I have tried several formulas e.g.
=concatenate, =text etc. and can easily get the '112233 with the
apostrophe
shown, but not as "real" text.

Does really appreciate you help in this, thanks a 1000 times

Best
Jakob


Jakob

First insert a helper column.
=CHAR(39)&A1
Copy down
(should see '123344)
Select helper column
Copy
Paste special (in the same spot)/values
Search/replace ' with ' replace all - worked for me. HTH for you.

Beege


Or check out the code on this page...

http://msdn.microsoft.com/library/de...UsingExcel.asp

Beege




All times are GMT +1. The time now is 04:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com