Hi, I need sequence like
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
.
.
.
.
more specifically after 25 rows value will be increase by 1, Can anyone help me here?
Hi, I need sequence like
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
.
.
.
.
more specifically after 25 rows value will be increase by 1, Can anyone help me here?
Last edited by abhijit2610; 01-21-2016 at 08:40 AM. Reason: Specific
Put this formula in A1:
=INT((ROWS($1:1)-1)/25)+1
then copy down as far as you need.
Hope this helps.
Pete
One way.
Cell A1:and copy down as far as you need to go.Formula:
Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
@Pete: good job we have offered different solutions![]()
I'm sure there are other ways as well, Trevor.
Pete
Superb... Its working....
You're welcome.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Or you can use this way:
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
@Pete: yep, the obvious (?) ones, maybe:
andFormula:
Please Login or Register to view this content.Formula:
Please Login or Register to view this content.
Here's another one - put the number 1 in C1, then this formula in C2:
=C1+(COUNTIF(C$1:C1,C1)=25)
then copy down.
Hope this helps.
Pete
@Pete: OK, I give in![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks