Can't format these numbers

tigerzen

Board Regular
Joined
Mar 8, 2023
Messages
209
Office Version
  1. 365
Platform
  1. Windows
This was downloaded from a file at work. I've used CLEAN and a range of techniques to try and convert from text to numbers but nothing has worked. I'd like to format these cells in Currency format.

Support staff model.xlsm
M
858,566
959,729
1060,982
1161,649
1262,877
Sheet1
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
If you select one of them, does the comma appear in the value in the formula bar? If so, they are definitely text. What does =LEN(M8) return?
 
Upvote 0
Hello!
Is that what you wanted?
58,57 €
59,73 €
60,98 €
61,65 €
62,88 €

If so, select the required cells and change their format to Currency. To do this, on the Home tab, in the Number block, click the arrow in the lower right corner. In the window that opens, select Currency from the list, and in the right part, the number of digits after the decimal point and the symbol of the required currency.
 
Upvote 0
If you select one of them, does the comma appear in the value in the formula bar? If so, they are definitely text. What does =LEN(M8) return?
Hi Rory, the comma does appear in the formula bar, LEN formula returns 8, it looks like there are 2 spaces at the end.
 
Upvote 0
Hello!
Is that what you wanted?
58,57 €
59,73 €
60,98 €
61,65 €
62,88 €

If so, select the required cells and change their format to Currency. To do this, on the Home tab, in the Number block, click the arrow in the lower right corner. In the window that opens, select Currency from the list, and in the right part, the number of digits after the decimal point and the symbol of the required currency.
Hi Sergius, that does not work on my spreadsheet.
 
Upvote 0
Select all the data, press Ctrl+H to bring up the Replace dialog, click in the Find box and hold the Alt key while typing 0160 on the number keys, then press Replace All.
 
Upvote 0
T202409a.xlsm
MN
858,566$58,566.00
959,729$59,729.00
5c
Cell Formulas
RangeFormula
N8:N9N8=--CONCAT(TEXTSPLIT(M8,{" ",","}))
Hi Dave, that works! But how did you know to use that particular formula? I tried everything from Text to Columns to all sorts of Substitute formulae and nothing worked.
Does anyone know why this happens in a spreadsheet, can't remember this happening to me before.
 
Upvote 0
Select all the data, press Ctrl+H to bring up the Replace dialog, click in the Find box and hold the Alt key while typing 0160 on the number keys, then press Replace All.
Hi Rory, my computer doesn't have a keypad
 
Upvote 0
quote "Hi Dave, that works! But how did you know to use that particular formula? I tried everything from Text to Columns to all sorts of Substitute formulae and nothing worked.
Does anyone know why this happens in a spreadsheet, can't remember this happening to me before."

We needed to remove the comma and the trailing blanks. One way to do that was as shown.
The double negative coerces the text to a number.
The cells were formatted "currency".
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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