+ Reply to Thread
Results 1 to 6 of 6

Repeat number

  1. #1
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Repeat number

    I want to repeat the number, depending on the number in the column
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Repeat number

    In C2 write first page number:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In C3 write:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and extend formula down.
    Attached Files Attached Files
    Last edited by zbor; 02-01-2015 at 07:04 AM.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Repeat number

    c2=LOOKUP(ROW(A1),SUBTOTAL(9,OFFSET($B$2,-1,0,ROW(INDIRECT("1:"&ROWS($B$2:$B$7))),1))+1,$A$2:$A$7)
    try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Repeat number

    In case that page name is not in ascending order by 1
    for example:
    Please Login or Register  to view this content.
    Then use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Repeat number

    Great solutions
    Thank you Mister "zbor"
    Thank you Mister "Siva"
    Formulas works like a charm.
    God bless you all, my teachers

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Repeat number

    you are welcome and thanks for the reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Formula: repeat number over set number of columns
    By RequestGuruHelp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2015, 09:07 AM
  2. [SOLVED] Need Macro to repeat number set
    By Latha Mani in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-09-2014, 08:19 AM
  3. [SOLVED] How to repeat the same number for 'N" number of times in excel sheet
    By tulasiram in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 03:06 AM
  4. Need a macro to repeat a number from one row to the next row
    By peesh567 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2013, 10:42 AM
  5. Repeat number formula
    By yendaley in forum Excel General
    Replies: 4
    Last Post: 02-16-2011, 11:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1