Phone number format problem in excel

Abbas999

Board Regular
Joined
Jan 4, 2015
Messages
102
Hi Experts,

I am facing a problem. Whenever i put a phone number into cells it converts to formulas and i tried finding the solutions on google and found some solution format cells etc but nothing is helped me. I have shared a pic sample below. Please help if someone knows a solution it. Also I want to convert numbers $500.00K to $0.5M Is that possible?

Thanks

<a href="http://tinypic.com?ref=o7odmv" target="_blank"><img src="http://i64.tinypic.com/o7odmv.png" border="0" alt="Image and video hosting by TinyPic"></a>
 
Last edited:

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,

That's a good suggestion; however, the OP has entered the values as Text, as indicated by the values being aligned to the left and having K or M in the cell, so in this case, the OP will probably have to either manually change all the cell values OR using your suggestion but with this formula instead:

Excel 2010
BCDEFG
1After Custom Format, enter as
2$500.00K$.5 M500000500000
3$180.00K$.18 M180000180000
4$910.00K$.91 M910000910000
5$2.8M$2.8 M28000002800000
6
7Before Custom FormatUsing Custom Format $#.##,," M"Figures will show as in Column C

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
G2=IF(RIGHT(B2,1)="K",MID(B2,2,LEN(B2)-2)*1000,IF(RIGHT(B2,1)="M",MID(B2,2,LEN(B2)-2)*1000000,""))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>


This helped me. Thank you very much all of you.. @jtakw @pvr928 @
 
Upvote 0
Hi,

That's a good suggestion; however, the OP has entered the values as Text, as indicated by the values being aligned to the left and having K or M in the cell, so in this case, the OP will probably have to either manually change all the cell values OR using your suggestion but with this formula instead:


Excel 2010
BCDEFG
1After Custom Format, enter as
2$500.00K$.5 M500000500000
3$180.00K$.18 M180000180000
4$910.00K$.91 M910000910000
5$2.8M$2.8 M28000002800000
6
7Before Custom FormatUsing Custom Format $#.##,," M"Figures will show as in Column C
Sheet1
Cell Formulas
RangeFormula
G2=IF(RIGHT(B2,1)="K",MID(B2,2,LEN(B2)-2)*1000,IF(RIGHT(B2,1)="M",MID(B2,2,LEN(B2)-2)*1000000,""))
Here is another formula that you can use...

=0+SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"M","0,000"),"K","0"),".",",")
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

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