Haseeb / Maries
thank you very much I can always count on you both. It realy help me a lot. Thanks a lot. Pawel ________________________________ From: Haseeb A <haseeb.avarak...@gmail.com> To: excel-macros@googlegroups.com Sent: Monday, April 23, 2012 4:59 PM Subject: Re: $$Excel-Macros$$ sequence help needed Hello Maries, a good one :) unfortunately, I don't think this works. If you enter 10 & 11 in V10 & V11 respectively, you can see what I mean. (>1 cell manually entered consecutively) Hello Pawel, One way is use an Array formula. In B6 enter your starting number, then in B7 with CTRL+SHIFT+ENTER, rather than just ENTER. =MIN(IF(ISNA(MATCH((ROW(B$5:B6)-ROW(B$5))+1,B$6:B6,0)),(ROW(B$5:B6)-ROW(B$5))+1)) Then drag down. See the attached. Regards, Haseeb -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com