Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

fill column with pattern of information

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tankgirl215 - 19 Sep 2006 18:49 GMT
Hello,

I'm trying to fill in a single column in a worksheet with warehouse
locations as follows:

01AA01AA01
01AA01AA02
through:
01AA01AA99
then starting the same pattern with:
01AA01AB01
and so on to the last row in the column (3500 rows)

These locations are all in order starting with the first row of
information in the spreadsheet.  Is there an easy way to get Excel to
recognize this pattern and fill in the remaining cells?  I'd much
rather not type in all 3500 locations if possible.  A formula?  Macro?
Lol, anything?

Thanks!!
Dave Peterson - 19 Sep 2006 19:12 GMT
I think that this works.

I put this in A1:

="01AA01"&SUBSTITUTE(SUBSTITUTE(CELL("address",
OFFSET($AA$1,0,INT((ROW()-1)/99))),"$",""),"1","")
&TEXT(MOD(ROW()-1,99)+1,"00")

(copy and paste into the formula bar, then drag down.)

> Hello,
>
[quoted text clipped - 16 lines]
>
> Thanks!!

Signature

Dave Peterson

tankgirl215 - 19 Sep 2006 19:36 GMT
It worked perfectly!

Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.