+ Reply to Thread
Results 1 to 5 of 5

Look up Table and transpose to another

  1. #1
    Registered User
    Join Date
    08-18-2017
    Location
    Charlotte, NC, USA
    MS-Off Ver
    Microsoft 2016
    Posts
    74

    Look up Table and transpose to another

    Hello everyone,

    Hoping to get some help with the attached file. I'm looking to lookup specific data from one table and somehow paste it into another table. I'm thinking you might have to transpose but perhaps it can be achieved using index match formula.

    I've colored the associated cells to help guide what data I need where. Please note this is a small subset of data and the tables are much larger than the example.


    Thank you in advance for your help
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Look up Table and transpose to another

    Please try at W3

    =INDEX($D$3:$O$5,(ROWS(W$3:W3)-1)/12+1,MOD(ROWS(W$3:W3)-1,12)+1)

    or
    =VLOOKUP(Q3,$B$3:$O$5,MATCH(TEXT(S3,"mmm"),$B$2:$O$2,),)
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,780

    Re: Look up Table and transpose to another

    W3=IF($Q3<>"",SUMPRODUCT(($B$3:$B$5=$Q3)*(MONTH($D$2:$O$2&0)=MONTH($S3))*($D$3:$O$5)),"")

    Copy down

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

    Re: Look up Table and transpose to another

    Use the following formulae in the cells stated:

    Q3: =INDEX($B$3:$B$5,INT((ROWS($1:1)-1)/12)+1)

    S3: =DATE(2021,MOD(ROWS($1:1)-1,12)+1,1)

    W3: =INDEX($D$3:$O$5,MATCH(Q3,$B$3:$B$5,0),MATCH(TEXT(S3,"mmm"),$D$2:$O$2,0))

    Copy these down as required.

    I'm not sure where the data comes from for columns T, U and V.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    08-18-2017
    Location
    Charlotte, NC, USA
    MS-Off Ver
    Microsoft 2016
    Posts
    74

    Re: Look up Table and transpose to another

    Thanks to all

+ 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. Transpose table
    By HananJanaby in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 04-28-2019, 02:02 PM
  2. To transpose or not to transpose? What decides? Table / Array?
    By LIL2606 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-19-2019, 01:28 PM
  3. Replies: 4
    Last Post: 08-21-2018, 09:24 AM
  4. [SOLVED] Transpose horizontal table to a vertical table via query
    By Journeyman3000 in forum Access Tables & Databases
    Replies: 5
    Last Post: 12-03-2015, 10:21 PM
  5. Table Transpose
    By CIRHS in forum Excel General
    Replies: 1
    Last Post: 10-21-2015, 05:32 AM
  6. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  7. Transpose a table
    By ZVN11 in forum Excel General
    Replies: 5
    Last Post: 10-06-2014, 11:55 AM

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