Auto Format of Data Entry

Ark68

Well-known Member
Joined
Mar 23, 2004
Messages
4,632
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a column of cells that the data takes on the same format...

N### ## ##

I just want to be able to quickly type in the 7 numbers (ie 1234567), and when I exit that cell it takes on the format N123 45 67.

How do I go about doing that?
 
Haha ... outstanding. Working wonderfully.
OK ... I know I said I needed to only go one more step further. But maybe I lied ... I have ONE additional function I'd like to do ....

Here is my formula:

Code:
=CONCATENATE($B292," ",$C292," ",LEFT(TEXT($G292,"""N""000 00 00"),4),".",MID(TEXT($G292,"""N""000 00 00"),6,2),".",RIGHT(TEXT($G292,"""N""000 00 00"),2),".000"," ",LEFT(TEXT($H292,"""W""000 00 00"),4),".",MID(TEXT($H292,"""W""000 00 00"),6,2),".",RIGHT(TEXT($H292,"""W""000 00 00"),2),".000","   ;",$D292,", ",$E292)

I'd like to add some colour to the result ...

ZFN 392 N064.54.24.000 W125.33.54.000 ;Tulita, NT
You'll need VBA code to do that.

I'm not much of a programmer so if you want to do this I suggest you start a new thread.
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,225,156
Messages
6,183,228
Members
453,152
Latest member
ChrisMd

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