Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default fill a series keeping the last number constant

Hi I am using Excel 2003, Heres the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc€¦

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default fill a series keeping the last number constant

Based on my limited knowledge, here's what I'd do. The regulars would
probably have a more efficient way of accomplishing this.

Assuming the first 4 digits keep incrementing by 1 and you want this series
in column A:

-Type 2566 and 2567 in cells A1 and A2.
-Select both cells and drag the autofill handle down as far as needed.
-Use a helper column, say column B (or any other convenient column) and type
this formula in cell B1: =A1&"-1"
-Copy this formula down as far as needed.
-Select all cells in column B with formula, copy in place as values.
-Move the contents of B1 to B . . . into A1 to A . . .



"cyndi" wrote:

Hi I am using Excel 2003, Heres the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc€¦

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default fill a series keeping the last number constant

One method..........

Enter this in A1 and drag down

=25&ROW()+65 & "-1"

Copy and paste specialvaluesokesc.


Gord Dibben MS Excel MVP


On Wed, 9 Jan 2008 14:00:07 -0800, cyndi
wrote:

Hi I am using Excel 2003, Here’s the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc…

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default fill a series keeping the last number constant

You could fill the cells below the first one (in A1 for example) with
=LEFT(A1,4)+1&"-1" and drag the formula down as far as you need.

Tyro

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default fill a series keeping the last number constant

GORD: Thanks. Even though I wasn't the original poster. I could use the
concept.

However, when I tried to extend the series past 2599-1, I got 25100-1, 25101-1

"Gord Dibben" wrote:

One method..........

Enter this in A1 and drag down

=25&ROW()+65 & "-1"

Copy and paste specialvaluesokesc.


Gord Dibben MS Excel MVP


On Wed, 9 Jan 2008 14:00:07 -0800, cyndi
wrote:

Hi I am using Excel 2003, Heres the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc€¦

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default fill a series keeping the last number constant

How about this in A1:
=2565+ROW()&"-1"

TRYING wrote:

GORD: Thanks. Even though I wasn't the original poster. I could use the
concept.

However, when I tried to extend the series past 2599-1, I got 25100-1, 25101-1

"Gord Dibben" wrote:

One method..........

Enter this in A1 and drag down

=25&ROW()+65 & "-1"

Copy and paste specialvaluesokesc.


Gord Dibben MS Excel MVP


On Wed, 9 Jan 2008 14:00:07 -0800, cyndi
wrote:

Hi I am using Excel 2003, Heres the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc€¦

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks




--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default fill a series keeping the last number constant

That should work for Cindy. It would take her a while before the first 4
digits become 5. By then she can easily edit the formula to fit the new
situation.

"Dave Peterson" wrote:

How about this in A1:
=2565+ROW()&"-1"

TRYING wrote:

GORD: Thanks. Even though I wasn't the original poster. I could use the
concept.

However, when I tried to extend the series past 2599-1, I got 25100-1, 25101-1

"Gord Dibben" wrote:

One method..........

Enter this in A1 and drag down

=25&ROW()+65 & "-1"

Copy and paste specialvaluesokesc.


Gord Dibben MS Excel MVP


On Wed, 9 Jan 2008 14:00:07 -0800, cyndi
wrote:

Hi I am using Excel 2003, Here€„˘s the problem, I need to fill a series keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc€¦

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks




--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default fill a series keeping the last number constant

Thanks Everyone, these are all helpful :)

"Tyro" wrote:

You could fill the cells below the first one (in A1 for example) with
=LEFT(A1,4)+1&"-1" and drag the formula down as far as you need.

Tyro

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks





  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default fill a series keeping the last number constant

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks






  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default fill a series keeping the last number constant

I have a question similar to this one. I'm trying to continue a series in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks









  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default fill a series keeping the last number constant

Hi JMart,

try this.

="ME-0"&ROW()-1&-"10"

and pull down.
HTH
Regards,
Howard


"JMart" wrote in message
...
I have a question similar to this one. I'm trying to continue a series in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks









  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default fill a series keeping the last number constant

Howard,

Thank you! This is a great tool! Is there a way to accomplish this:

611-a1-a001-a; 611-a1-a002-a; 611-a1-a003-a; . . . 611-a1-a125-a, etc

I used your example to create this ="611-a1-a"&ROW()-4&"-a"

where I'm subtracting 4 from the row, as the series starts on row 5. But
the part I cannot get to work is the leading "0"s. Is there a way to have
two or one leading zero for a constant 3 characters?
Any help would be much appreciated.

Thank you,
David

"L. Howard Kittle" wrote:

Hi JMart,

try this.

="ME-0"&ROW()-1&-"10"

and pull down.
HTH
Regards,
Howard


"JMart" wrote in message
...
I have a question similar to this one. I'm trying to continue a series in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks










  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 320
Default fill a series keeping the last number constant

="611-a1-a"&text(ROW()-4,"000")&"-a"

"Demccaff" wrote in message
...
Howard,

Thank you! This is a great tool! Is there a way to accomplish this:

611-a1-a001-a; 611-a1-a002-a; 611-a1-a003-a; . . . 611-a1-a125-a, etc

I used your example to create this ="611-a1-a"&ROW()-4&"-a"

where I'm subtracting 4 from the row, as the series starts on row 5. But
the part I cannot get to work is the leading "0"s. Is there a way to have
two or one leading zero for a constant 3 characters?
Any help would be much appreciated.

Thank you,
David

"L. Howard Kittle" wrote:

Hi JMart,

try this.

="ME-0"&ROW()-1&-"10"

and pull down.
HTH
Regards,
Howard


"JMart" wrote in message
...
I have a question similar to this one. I'm trying to continue a series
in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a
series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks












  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default fill a series keeping the last number constant

Demccaff,

="611-a1-a"&TEXT(ROW()-4,"000")&"-a"

HTH,
Bernie
MS Excel MVP


"Demccaff" wrote in message
...
Howard,

Thank you! This is a great tool! Is there a way to accomplish this:

611-a1-a001-a; 611-a1-a002-a; 611-a1-a003-a; . . . 611-a1-a125-a, etc

I used your example to create this ="611-a1-a"&ROW()-4&"-a"

where I'm subtracting 4 from the row, as the series starts on row 5. But
the part I cannot get to work is the leading "0"s. Is there a way to have
two or one leading zero for a constant 3 characters?
Any help would be much appreciated.

Thank you,
David

"L. Howard Kittle" wrote:

Hi JMart,

try this.

="ME-0"&ROW()-1&-"10"

and pull down.
HTH
Regards,
Howard


"JMart" wrote in message
...
I have a question similar to this one. I'm trying to continue a series in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks












  #15   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default fill a series keeping the last number constant


Bernie,

You're Awesome!!!
That was sooooo fast too!!

Thank You!!!!

David

"Bernie Deitrick" wrote:

Demccaff,

="611-a1-a"&TEXT(ROW()-4,"000")&"-a"

HTH,
Bernie
MS Excel MVP


"Demccaff" wrote in message
...
Howard,

Thank you! This is a great tool! Is there a way to accomplish this:

611-a1-a001-a; 611-a1-a002-a; 611-a1-a003-a; . . . 611-a1-a125-a, etc

I used your example to create this ="611-a1-a"&ROW()-4&"-a"

where I'm subtracting 4 from the row, as the series starts on row 5. But
the part I cannot get to work is the leading "0"s. Is there a way to have
two or one leading zero for a constant 3 characters?
Any help would be much appreciated.

Thank you,
David

"L. Howard Kittle" wrote:

Hi JMart,

try this.

="ME-0"&ROW()-1&-"10"

and pull down.
HTH
Regards,
Howard


"JMart" wrote in message
...
I have a question similar to this one. I'm trying to continue a series in
this way: ME-000-10, ME-001-10, ME-002-10, etc., but am stumped as to
how-thanks for any ideas!

"Ron Coderre" wrote:

If it's just for appearance...

Perhaps this:
Starter cell: 2566

From the Excel Main Menu:
<format<cells<number tab
Category: Custom
Type: 0000-1
Click [OK]

(the cell will now display as: 2566-1)

Then, click an hold on the cell's fill handle
(small black box in the lower right)
and drag down while holding down the [CTRL] key.

The end result will look like this:
2566-1
2567-1
2568-1
2569-1
2570-1
etc

Is that something you can work with?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"cyndi" wrote in message
...
Hi I am using Excel 2003, Here's the problem, I need to fill a series
keeping
the last number constant: For Example
2566-1
2567-1
2568-1
2569-1
2570-1
Etc.

But I get this instead when I try to autofill it
2566-1
2567-1
2568-1
2566-2
2567-2
2568-2
Is there a way to keep the last number consitant? Any Help would be
awesome. Thanks













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
Keeping the column constant in a formula Arithmetic functions with embedded text[_2_] Excel Discussion (Misc queries) 4 June 11th 07 04:31 PM
Keeping cell references constant FlyingDutchmanIam Excel Discussion (Misc queries) 1 June 29th 06 12:43 PM
keeping a shape constant regardless of changes in variables Osvy Excel Discussion (Misc queries) 0 March 28th 06 05:49 AM
Auto Fill Series when number ends in -1 JGus Excel Discussion (Misc queries) 7 December 23rd 05 04:14 AM
How do I increment a fill series by a number other than 1? Say I. John Excel Worksheet Functions 3 January 6th 05 10:34 PM


All times are GMT +1. The time now is 04:49 AM.

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

About Us

"It's about Microsoft Excel"