Hello
i want to add automatically numbers( 1 to 55 ) in column A9:A10000, when i add entry from B9:B10000
e,g
i m adding data in Range(B9:B10000), add auto number from 1 to 55, when i reach B65 then start number from start 1 to 55 again
thanx
Hello
i want to add automatically numbers( 1 to 55 ) in column A9:A10000, when i add entry from B9:B10000
e,g
i m adding data in Range(B9:B10000), add auto number from 1 to 55, when i reach B65 then start number from start 1 to 55 again
thanx
Last edited by HaroonSid; 04-28-2014 at 12:48 AM.
Hi haroon2015,
Do you really need a macro? You could put the following formula in cell A10...
=IF(ROW()=10,1,IF(OFFSET(A10,-1,0)=55,1,OFFSET(A10,-1,0)+1))
...and fill down as required.
Regards,
Robert
____________________________________________
Please ensure you mark your thread as Solved once it is. Click here to see how
If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post
hello Trebor76
works perfect thanx lot
will add u reputation![]()
Thanks for the feedback and marking the thread as solved (and of course for adding to my reputation)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks