#1   Report Post  
Howard
 
Posts: n/a
Default Custom

I will have a column of nine digit numbers. The first six digits are 999999;
the last three digits will vary. How do I format the column so I just have
to type in the last three digits and the first six will fill with 9s
automatically?
I tried custom 999999###. That works where the last three digits are 101,
for example. However it doesn't work where the last three digits are 007. I
get 9999997. It doesn't pick up 00.
Thanks,
--
Howard
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Howard

This one works for me.

Custom 999999000

Enter 007 and return 999999007


Gord Dibben Excel MVP

On Thu, 24 Mar 2005 11:45:14 -0800, Howard
wrote:

I will have a column of nine digit numbers. The first six digits are 999999;
the last three digits will vary. How do I format the column so I just have
to type in the last three digits and the first six will fill with 9s
automatically?
I tried custom 999999###. That works where the last three digits are 101,
for example. However it doesn't work where the last three digits are 007. I
get 9999997. It doesn't pick up 00.
Thanks,


  #3   Report Post  
Howard
 
Posts: n/a
Default

Thanks, Gord!

HF

"Gord Dibben" wrote:

Howard

This one works for me.

Custom 999999000

Enter 007 and return 999999007


Gord Dibben Excel MVP

On Thu, 24 Mar 2005 11:45:14 -0800, Howard
wrote:

I will have a column of nine digit numbers. The first six digits are 999999;
the last three digits will vary. How do I format the column so I just have
to type in the last three digits and the first six will fill with 9s
automatically?
I tried custom 999999###. That works where the last three digits are 101,
for example. However it doesn't work where the last three digits are 007. I
get 9999997. It doesn't pick up 00.
Thanks,



  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Instead of formatting, have you thought of changing the value?

You can put 999999000 in a cell.
copy that cell
select your range to adjust and
edit|paste special|Check add

Clean up that cell with 999999000

I find that sometimes the way the cell is displayed is nice, but not sufficient
for lots of stuff.

=if(a199999000,"x","y")

would be the kind of thing that would drive me nuts if I saw 999999007 in A1!

Howard wrote:

I will have a column of nine digit numbers. The first six digits are 999999;
the last three digits will vary. How do I format the column so I just have
to type in the last three digits and the first six will fill with 9s
automatically?
I tried custom 999999###. That works where the last three digits are 101,
for example. However it doesn't work where the last three digits are 007. I
get 9999997. It doesn't pick up 00.
Thanks,
--
Howard


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
How to automate custom footer on all tabs neal august Excel Discussion (Misc queries) 1 March 3rd 05 02:38 PM
How do I format a cell for a custom part number? PJ Excel Discussion (Misc queries) 4 March 3rd 05 03:57 AM
Excel 2002 custom toolbars fick Excel Discussion (Misc queries) 4 December 13th 04 09:51 PM
Custom Type Charts Problem Reetesh B. Chhatpar Excel Worksheet Functions 0 November 23rd 04 10:55 AM


All times are GMT +1. The time now is 06:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"