+ Reply to Thread
Results 1 to 3 of 3

Sorting data using VLOOKUP, MATCH, INDEX etc.

  1. #1
    Registered User
    Join Date
    11-19-2017
    Location
    Oslo, Norway
    MS-Off Ver
    15.3
    Posts
    19

    Sorting data using VLOOKUP, MATCH, INDEX etc.

    I have a raw data table that looks like the image below and continues for 650 rows down. The two last columns in bold ("Price" and "SE") are output which I want to sort in to another pre-formatted table.

    Screen Shot 2018-07-24 at 18.08.26.png

    Specifically, I would like to sort the columns of "Price" and "SE" in to a pre-formatted table that looks like the image below, where 7.72 and 0.01 are imaginary numbers and should be respectively replaced with "Price" and "SE".

    Screen Shot 2018-07-24 at 17.44.41.png

    The table in the image above is only a fraction of the whole table. The whole table is in the attached Excel file.

    I believe I must use VLOOKUP, MATCH, INDEX or some other function that can look up different values of "method", "optionType", "M", "Pol" and "b" in the raw data table, and paste their corresponding values of "Price" and "SE" in to the pre-formatted table. At first, I tried with the OFFSET function, but I eventually gave up as it took too long time.

    Any help would be very appreciated.
    Attached Files Attached Files
    Last edited by ilohyou; 07-24-2018 at 02:47 PM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Sorting data using VLOOKUP, MATCH, INDEX etc.

    Please do not specify the functions that you think you need to use in your thread title. It can be misleading and unhelpful to those trying to help you.

    Use this formula in C4 and fill down to C32

    =SUMIFS($AX:$AX,$AS:$AS,LOOKUP("zzz",$C$2:C$2),$AT:$AT,LOOKUP("zzz",$A$1:A$1),$AU:$AU,$A4,$AV:$AV,$B4,$AW:$AW,LOOKUP(6,$C$3:C$3))

    Then copy C4:C32 and paste to F4, copy again and paste to I4, repeat accross to AK4.

    Use the same formula in E4, changing the sum range from $AX:$AX to $AY:$AY, then fill down do E32, copy E4:E32 and paste to H4:H32, etc repeat to AM4.

    For the bottom half of the table, start with this one in C37, then fill down and copy to the other columns as above, again changing the first range from AX to AY before filling the SE result columns.

    =SUMIFS($AX:$AX,$AS:$AS,LOOKUP("zzz",$C$35:C$35),$AT:$AT,LOOKUP("zzz",$A$34:A$34),$AU:$AU,$A37,$AV:$AV,$B37,$AW:$AW,LOOKUP(6,$C$36:C$36))

  3. #3
    Registered User
    Join Date
    11-19-2017
    Location
    Oslo, Norway
    MS-Off Ver
    15.3
    Posts
    19

    Re: Sorting data using VLOOKUP, MATCH, INDEX etc.

    Exactly what I was looking for. Thank you!

+ 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. Data Sorting for LTn & LTa using INDEX and MATCH function
    By manoj_b118 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-23-2015, 05:34 AM
  2. Data Sorting using INDEX MATCH function
    By manoj_b118 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-22-2015, 10:54 AM
  3. [SOLVED] Please help extracting data (vlookup, index, match, etc)
    By spiklz in forum Excel General
    Replies: 16
    Last Post: 07-20-2015, 02:09 AM
  4. Sorting INDEX-MATCH data and preserving row references
    By schwastl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2014, 11:12 PM
  5. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  6. Looking up data from two sheets with vlookup or index and match
    By joeycrak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2013, 04:56 PM
  7. data extraction using vlookup or index match (I NEED HELP!!!)
    By UK-MAL in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-23-2013, 06:01 PM

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