+ Reply to Thread
Results 1 to 4 of 4

Formula To Copy Info in Column to Rows

  1. #1
    Registered User
    Join Date
    03-20-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Formula To Copy Info in Column to Rows

    Hi Guys;

    Trying to figure this out and I can't find the answer anywhere...

    In column A I have Product Codes, They start at A3 and go down to A169.

    I need to have a formula which i can drag across from CQ3 to DH3 which corresponds in the following manner.

    CQ3 = A4
    CR3 = A5
    CS3 = A6

    etc etc.

    I then want to be able to copy the formula into another place, eg CQ20 = A21, CR20 = A22 etc

    I have attached a screen shot of what I hope will help.

    Untitled-1000.jpg

    Cheers in advance

    Chris
    Last edited by Limits; 03-20-2014 at 11:14 AM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Formula To Copy Info in Column to Rows

    you could try this in CQ3 =INDEX($A$2:$A$169,(ROWS($CQ$3:CQ3)-1)*3+CEILING(COLUMNS($CQ$3:CQ3)/1,1),MOD(COLUMNS($CQ$3:CQ3)-0,1)+1)&"" then drag right from there.
    Then move the formula to where else you want it and adjust the cells.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    03-20-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Formula To Copy Info in Column to Rows

    Hi Sambo;

    Right, I just tried that and it doesn't like this part for some reason

    =INDEX($A$2:$A$169,(ROWS($CQ$3:CQ3)-1)*3+CEILING(COLUMNS($CQ$3:CQ3)/1,1),MOD(COLUMNS($CQ$3:CQ3)-0,1)+1)&""

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Formula To Copy Info in Column to Rows

    maybe it should be $A$3:$A$169 but i'm not sure otherwise what would be wrong with it.
    I tested it out on info beginning in A165 and ending in A179 putting the results in B166 and going to the right from there and this is what I wrote: =INDEX($A$165:$A$179,(ROWS($B$166:B166)-1)*3+CEILING(COLUMNS($B$166:B166)/1,1),MOD(COLUMNS($B$166:B166)-0,1)+1)&""
    and it worked fine all the way to the end then when the rows run out in col A it will return #REF.

+ 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. Replies: 3
    Last Post: 03-04-2014, 09:08 PM
  2. If column is populated, copy and paste info. into new workbook(keeping other column info.)
    By mary.gallagher in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 02:56 PM
  3. Replies: 3
    Last Post: 01-30-2013, 04:32 PM
  4. Find duplicate info in two columns and copy info from duplicate rows
    By USGS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-12-2011, 07:31 PM
  5. Replies: 1
    Last Post: 11-16-2008, 10:42 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