+ Reply to Thread
Results 1 to 6 of 6

Match and Index function

  1. #1
    Forum Contributor
    Join Date
    12-06-2015
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    513

    Match and Index function

    Dear all
    I am trying to use the function of Match and Index to do a table that can select the right "value"

    I got a task in my company that I need to select the right price for the right date of the services

    For example

    July
    1 - 3 July - US$10 , 4-9 July - US$12, 10 - 15 July - US$10

    With the dates on one row and price on the next row. how can I make that work ?

    Thanks

    Eric

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Match and Index function

    Please post a small sample file showing expected results.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Match and Index function

    You might be better having a price table with dates in column A and Price in B


    01/07/2015 10
    04/07/2015 30
    10/07/2015 20

    with date in F1 then

    =VLOOKUP(F1,$A$1:$B$3,2)

    will find price

    use

    =IFERROR(VLOOKUP(F1,$A$1:$B$3,2),"") to trap errors

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Match and Index function

    Here's an example of how HLookup would work, it might be easier then index/match.

    Edit: Oops, shoulda refreshed. JohnTopley beat me again
    Oh well.
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Match and Index function

    HLOOKUP is just as valid: I prefer data with columns as Headers and Rows as records.

  6. #6
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: Match and Index function

    Quote Originally Posted by JohnTopley View Post
    HLOOKUP is just as valid: I prefer data with columns as Headers and Rows as records.
    Me Too John

+ 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: 1
    Last Post: 06-10-2015, 12:56 PM
  2. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  3. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  4. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  5. Replies: 6
    Last Post: 03-17-2014, 08:10 PM
  6. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  7. Replies: 2
    Last Post: 03-20-2009, 01:29 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