Format cell.... HELP!!

Steffmeister

Board Regular
Joined
Nov 7, 2005
Messages
195
Hi guys,

I got a very weird problem. When I type in an IP-address some of them get no point between the numbers.
Example: 9.155.230.148 this address will show with points in the cell, but in the formula bar he shows without points 9155230148

When I put the Format cell as number and use the seperator then he still have no points in the formula bar.

Will this be a problem when I want to compare the sheets with addresses? Is he get the address in the cell or the formula bar?

Hope you can help me.

Grts. Steffmeister
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
If you have the dot as the thousands separator, Excel will treat what you enter as a number if it can. In your example there are 3 digits after each dot so it can be interpreted as 9 billion or so. But eg 9.15.230.148 has only 2 digits after the first dot so it is not interpreted as 915 thousand or so.

The solution is to format the cell as Text before making the entry.
 
Upvote 0

venkat1926

Well-known Member
Joined
Aug 21, 2005
Messages
4,824
enter the number beginning with a single apostrophe <'>
i.e. type
' 9.15.230.148

it wil only be text alternativel
you format all of them as text
 
Upvote 0

Forum statistics

Threads
1,195,675
Messages
6,011,106
Members
441,582
Latest member
Topkapi

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
Top