+ Reply to Thread
Results 1 to 5 of 5

How Do I Repeat the Value in a Cell over a Stated Number of Cells?

  1. #1
    Registered User
    Join Date
    11-01-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question How Do I Repeat the Value in a Cell over a Stated Number of Cells?

    Here is my dilemma...
    I need to repeat a value in a cell 2 columns over multiplied by the value in said cell.
    For example, I need the value in E23 (13) repeated in E25, E27, E29 etc. a total of 13 times.
    I have researched everywhere and cannot resolve this.
    Any assistance would be apreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How Do I Repeat the Value in a Cell over a Stated Number of Cells?

    You can use a formula like:

    =IF(AND(MOD(ROW(),2)=1,ROWS($E$25:$E25)/2<=$E$23),$E$23,"")

    copied down as far as you want... the rows after the count in E23 will be blank..as well as the ones in between.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    11-01-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Red face Re: How Do I Repeat the Value in a Cell over a Stated Number of Cells?

    Thanks NBVC...
    I copied and pasted the formulas into the cells I needed but the count doesn't seem to end at the specified number. Am I missing something?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How Do I Repeat the Value in a Cell over a Stated Number of Cells?

    I tried the same and it works. I copied the formula over in column F and it works perfectly.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How Do I Repeat the Value in a Cell over a Stated Number of Cells?

    Here is a sample workbook showing that it should work.

    change the value in E23....
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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