PC Review


Reply
Thread Tools Rate Thread

Creating a series of cells with multiple incrimenting characters

 
 
=?Utf-8?B?bWFya2I=?=
Guest
Posts: n/a
 
      29th Jun 2007
Hi,

I need to create a series of 1000 cells down a column. They will be in this
format:

MM1A
MM1B
MM1C
MM1D
MM1E
MM3A
MM3B
MM3C
MM3D
MM3E
MM5A
MM5B
MM5C
......

So, the first 2 characters are always the same, the 3rd character, an odd
number incriments by 2 every 6th row, and the fourth character changes
alphabetically through 5 rows, then it resets to "A"...

Please give me some ideas?

Thanks,
--
Markb
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RWxrYXI=?=
Guest
Posts: n/a
 
      29th Jun 2007
Here's a formula that will do what you've described, if I read it correctly.
Assuming you're starting in cell A1.

In A1 enter:
MM1A

IN A2 enter:
=IF(RIGHT(A1,1)<>"E",LEFT(A1,3)&CHAR(CODE(RIGHT(A1,1))+1),"MM"&MOD(MID(A1,3,1)+2,10)&"A")

Copy down through A1000

Note that the sequence repeats every 25 rows. Is this what you're looking
for? If so, it seems it would have been easier to just manually type out the
25 rows, then fill down through 1000.

HTH,
Elkar



"markb" wrote:

> Hi,
>
> I need to create a series of 1000 cells down a column. They will be in this
> format:
>
> MM1A
> MM1B
> MM1C
> MM1D
> MM1E
> MM3A
> MM3B
> MM3C
> MM3D
> MM3E
> MM5A
> MM5B
> MM5C
> .....
>
> So, the first 2 characters are always the same, the 3rd character, an odd
> number incriments by 2 every 6th row, and the fourth character changes
> alphabetically through 5 rows, then it resets to "A"...
>
> Please give me some ideas?
>
> Thanks,
> --
> Markb

 
Reply With Quote
 
=?Utf-8?B?VGVldGhsZXNzIG1hbWE=?=
Guest
Posts: n/a
 
      30th Jun 2007
Try this:

="MM"&INT((ROWS($1:1)-1)/5)*2+1&CHAR(MOD(ROWS($1:1)-1,5)+65)

copy down as far as needed


"markb" wrote:

> Hi,
>
> I need to create a series of 1000 cells down a column. They will be in this
> format:
>
> MM1A
> MM1B
> MM1C
> MM1D
> MM1E
> MM3A
> MM3B
> MM3C
> MM3D
> MM3E
> MM5A
> MM5B
> MM5C
> .....
>
> So, the first 2 characters are always the same, the 3rd character, an odd
> number incriments by 2 every 6th row, and the fourth character changes
> alphabetically through 5 rows, then it resets to "A"...
>
> Please give me some ideas?
>
> Thanks,
> --
> Markb

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Need help removing characters in multiple cells Gord Dibben Microsoft Excel Discussion 0 12th Jul 2008 08:48 PM
Creating one trendline for multiple series ALaw Microsoft Excel Charting 1 2nd Apr 2008 08:00 PM
Creating a series from multiple columns and (multiple) files =?Utf-8?B?QmFkcmluYXRo?= Microsoft Excel Programming 0 18th Jul 2007 05:58 PM
Creating a High-Low-Close chart with multiple series? =?Utf-8?B?VGhlIENoYWQ=?= Microsoft Excel Charting 3 7th Jun 2007 06:32 PM
Creating a High-Low-Close chart with multiple series? =?Utf-8?B?VGhlIENoYWQ=?= Microsoft Excel Misc 0 2nd May 2005 10:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:37 PM.