Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Auto numbering with letters - re-posting question from above

Could that formula be modifed so after 26 characters, it started with A1,
B1... instead of AA, AB...?

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto numbering with letters - re-posting question from above

"rayybay" wrote:
Could that formula be modifed so after 26 characters, it started with A1,
B1... instead of AA, AB...?


Try this in any starting cell, say in B2:
=IF(ROWS($1:1)26,CHAR(MOD(ROWS($1:1)-1,26)+65)&INT((ROWS($1:1)-1)/26),CHAR(MOD(ROWS($1:1)-1,26)+65))
Copy down as far as required.

The expression will return the series:
A,B, ... Z,A1,B1, ... Z1,A2,B2, ... Z2,A3,B3 ... and so on, all the way
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Auto numbering with letters - re-posting question from above

PERFECT!!! Thank you!

"Max" wrote:

"rayybay" wrote:
Could that formula be modifed so after 26 characters, it started with A1,
B1... instead of AA, AB...?


Try this in any starting cell, say in B2:
=IF(ROWS($1:1)26,CHAR(MOD(ROWS($1:1)-1,26)+65)&INT((ROWS($1:1)-1)/26),CHAR(MOD(ROWS($1:1)-1,26)+65))
Copy down as far as required.

The expression will return the series:
A,B, ... Z,A1,B1, ... Z1,A2,B2, ... Z2,A3,B3 ... and so on, all the way
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Auto numbering with letters - re-posting question from above

Welcome, glad to hear that
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"rayybay" wrote in message
...
PERFECT!!! Thank you!



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
Auto-Numbering Occurrences Question Bob Stearns Excel Worksheet Functions 5 February 26th 13 06:37 PM
Numbering using letters rayybay Excel Discussion (Misc queries) 2 April 1st 08 08:05 PM
Auto Numbering Andy JL New Users to Excel 3 November 23rd 05 05:09 AM
auto posting dates maintchief New Users to Excel 1 October 28th 05 01:20 AM
the owner of posting should be able to delete the posting Mahendra Excel Discussion (Misc queries) 7 August 8th 05 07:21 PM


All times are GMT +1. The time now is 10:30 PM.

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"