+ Reply to Thread
Results 1 to 8 of 8

Combining IF and Index Match

  1. #1
    Registered User
    Join Date
    01-12-2016
    Location
    New York
    MS-Off Ver
    2015
    Posts
    76

    Combining IF and Index Match

    I have a master "DATA" table that I'm trying to link to

    If I'm looking for the price of a specific unit based on the period it was sold (1-20), how do I find that.



    IF unit "5B" was sold in time period 2, I want it to return the price of unit "5B" pulling from the "2ND Price" column, IF unit "5B" was sold in time period 3, I want it to return the price of unit "5B" pulling from the "3RD Price" column, etc.

  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,359

    Re: Combining IF and Index Match

    It is much easier to respond if we have data to work with so please post a sample file (not image).

  3. #3
    Registered User
    Join Date
    01-12-2016
    Location
    New York
    MS-Off Ver
    2015
    Posts
    76

    Re: Combining IF and Index Match

    file attached
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Combining IF and Index Match

    How is your data organised? Do you have two columns (like a "Unit" and "time period" column, and you want the result in the third column)? "Are the columns "2ND Price", "3RD Price" all next to the other and in order? If so, you could use VLOOKUP, something like =VLOOKUP(A2,DATA!$A$1:$K$10000,B2,FALSE)

    Edit: Now that there's an attachment, where do you want your answer and based on what?

  5. #5
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Re: Combining IF and Index Match

    Hi csnyder,
    it would be easier to advace if you share a sample excel file. Based on description you provided I think it can be easily done with combining functions IF and SUMIF. You can try that one and I believe it will do what you want.
    Example of how to use sumif function you can find in this video (at 1:04)
    https://m.youtube.com/results?q=exce...%20sumif&sm=12

    Best regards.
    Have a fantastic day

  6. #6
    Registered User
    Join Date
    01-12-2016
    Location
    New York
    MS-Off Ver
    2015
    Posts
    76

    Re: Combining IF and Index Match

    I posted the attachment above if anyone can help

  7. #7
    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,359

    Re: Combining IF and Index Match

    where do you want your answer and based on what?
    Please answer the question posted by Jdevel in post#4.

    where are the parameters placed?

    Please add examples to your posted file

  8. #8
    Registered User
    Join Date
    06-24-2016
    Location
    Slovakia
    MS-Off Ver
    MS Office 365
    Posts
    92

    Re: Combining IF and Index Match

    Hi csnyder,

    based on your file and description you provided in your first point I added one table with function.
    Check attachment if it does what you wanted.
    Attached Files Attached Files

+ 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. [SOLVED] Combining INDEX and MATCH with MAX
    By jcswaby in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-12-2016, 10:35 AM
  2. Combining Index Match and max functions
    By ifu06416 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-29-2015, 02:48 AM
  3. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  4. [SOLVED] Combining Index, Match, If, Not, ISERROR
    By brad999 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2013, 07:02 AM
  5. [SOLVED] Need help combining two Index Match functions into one
    By BeachRock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2012, 10:35 PM
  6. Combining Index & Match Functions
    By bmc1975 in forum Excel General
    Replies: 7
    Last Post: 10-28-2010, 11:04 AM
  7. Combining Match & Index Functions
    By bmc1975 in forum Excel General
    Replies: 10
    Last Post: 08-09-2010, 03:33 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