+ Reply to Thread
Results 1 to 4 of 4

Copy formula question

Hybrid View

  1. #1
    Registered User
    Join Date
    04-21-2011
    Location
    CA, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Copy formula question

    Trying to find a way to copy column A to 4 copies of each row to column B.

    IS there a quick/easy way to do the following:

    See excel attachment
    Attached Files Attached Files
    Last edited by tjcase; 04-21-2011 at 11:35 AM.

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

    Re: Copy formula question

    You can copy the text strings 4 times each, but the colours cannot be copied with Excel formulas..

    in B2:

    =INDEX($A$2:$A$4,MOD(INT((ROW()-ROW($A$2))/4),4)+1)

    adust range to suit your data and copy down
    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
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,243

    Re: Copy formula question

    The formula of
    =INDIRECT("A"&1+CEILING((ROW()-1)/4,1))
    in C2 and pull down works for me.

    I don't know if Ceiling was in 2003. If not then you will need to find an equivalent rounding of my formula.
    Looks like it was from http://www.techonthenet.com/excel/formulas/ceiling.php
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    04-21-2011
    Location
    CA, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Copy formula question

    Thank all for the help. Much time saver for me!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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