ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lettering rows (https://www.excelbanter.com/excel-worksheet-functions/220905-lettering-rows.html)

Tobycat

Lettering rows
 
How do I sequencially letter rows in Excel?

Glenn

Lettering rows
 
Tobycat wrote:
How do I sequencially letter rows in Excel?


Two solutions were provided yesterday (assuming "Tobycat" and "Mollycat" are the
same person)...

=MID(ADDRESS(1,ROW()),2,LEN(ADDRESS(1,ROW()))-3)

and

=IF(ROW()932230,"B",IF(ROW()475254,"A",""))&
IF(ROW()18277,CHAR(64+MOD(INT((ROW()-18279)/17576),26)+1),"")&
IF(ROW()702,CHAR(64+MOD(INT((ROW()-703)/676),26)+1),"")&
IF(ROW()26,CHAR(64+MOD(INT((ROW()-27)/26),26)+1),"")&
CHAR(64+MOD(ROW()-1,26)+1)


If those aren't sufficient, please provide more details about what you need.


All times are GMT +1. The time now is 02:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com