+ Reply to Thread
Results 1 to 3 of 3

how to 'index (?)' a copy/populate function from one worksheet to another?

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    providence, ri
    MS-Off Ver
    Excel for Mac 2011 Version 14.3.8
    Posts
    20

    how to 'index (?)' a copy/populate function from one worksheet to another?

    Thx for looking. I want to populate data from one worksheet row, different columns into a separate worksheet columns, different row. On the latter worksheet (where I want my results of the copy/populate to appear in columns, different rows) I'd like to just copy from same row/3 columns down to the next row and to the next and the next, etc.

    E.g., In columns O23, P23, Q23 from one worksheet i used the '=' sign to place the results from J46, L46, K46 from another into those 3 cells. Then I'd like to down arrow a row to O24, P24, Q24 on that 1st sheet and say, 'from my second sheet; insert/populate with the results of J46 (but over 5 columns), L46 (but over 5 columns), K46 (but over 5 columns)'. Then I want to go down to O25, P25, Q25 on that 1st sheet again and say, 'from my second sheet; insert/populate O25, P25, Q25 on that 1st sheet with the results of J46 (but over 5 MORE columns), L46 (but over 5 MORE columns), K46 (but over 5 MORE columns).'

    Thx alot

    Hi I just tried to add a couple screen shot attachements of the two worksheets I'm dealing with. thx
    Last edited by cornbread_r_square; 07-23-2016 at 08:30 PM. Reason: added attachments

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: how to 'index (?)' a copy/populate function from one worksheet to another?

    It would help if you attached a sample Excel workbook, in which you might be able to explain more clearly what you want to achieve.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Pete

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: how to 'index (?)' a copy/populate function from one worksheet to another?

    If you are just returning 1 particular entry, depending of a row and column heading, you could probably use INDEX/MATCH/MATCH for that.

    INDEX returns a value at the intersect (meeting) of a row and a column.
    INDEX() syntax is =INDEX(range,row-num,column-num)
    so something like =INDEX(A1:J10,3,5)
    will return the contents of E3 (row 3, column 5)
    Didnt even use MATCH, did we?

    Now, to find the "3" or the "5", we would use the MATCH function...
    MATCH syntax is...=match(criteria-to-find,column-to-search-in,0) 0 returns exact match
    =MATCH("cc",A1"A10,0)
    If "cc" is in A3, this will return 3
    (to find the column number, we use the same thing, just change the range=MATCH(criteria-to-find,row-to-search-in,0)
    '=MATCH("zz",A1:J1,0)
    If "zz" is in E1, then this will return 5

    Put them all together and you have...
    =INDEX(A1:J10,MATCH("cc",A1:A10,0),MATCH("zz",A1:J10))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Using VBA with a SUMIF Function to populate a report worksheet
    By noboffinme in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-11-2015, 06:43 AM
  2. Replies: 4
    Last Post: 11-23-2014, 11:13 AM
  3. Replies: 3
    Last Post: 11-29-2012, 08:01 PM
  4. Replies: 1
    Last Post: 04-29-2012, 01:03 PM
  5. Populate from user form then copy & paste to another worksheet
    By zimbo109 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-24-2010, 12:41 PM
  6. Copy data from worksheet row and populate cells in worksheet 2
    By nutterino in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2009, 04:02 PM
  7. what function to use to populate data from other worksheet?
    By schueyisking in forum Excel General
    Replies: 4
    Last Post: 08-20-2008, 01:48 PM

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