For book #s starting at 1001 and changing every 10 rows;
Put in cell A2: =IFERROR(OFFSET(A2,-10,0)+1,1001) In case of Excel version prior to 2003, which doesn't support IFERROR, use: =IF(ROW(A2)>11,OFFSET(A2,-10,0)+1,1001) Change default book # in formula as desired. Copy down. Asa From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of sriram ji Sent: Monday, October 24, 2011 6:35 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Help needed..? Dear All, Kindly find the attached file, and provide formula for this.... Thanks & Regards, Sriram.G Chennai. -- ---------------------------------------------------------------------------- ------ Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel