+ Reply to Thread
Results 1 to 4 of 4

nested if statement with index and match within

  1. #1
    Registered User
    Join Date
    01-22-2012
    Location
    Melbourne, Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    nested if statement with index and match within

    Hi All,

    I am preparing an excel spread sheet for work and it requires that a sales consultant select a particular product from six choices and enter in a desired size in width and length. From this data i need to create a formula that will calculate the material cost of that particular product.

    I have 6 tables in one sheet that will be hidden and so i wanted to know if anyone could help me create a formula that would work something like

    =if(cell="category 1",index(match),if(cell="category 2",index(match),if(cell=category 3",index(match) ....... and so on

    where index(match) is my formula to work out which price is returned

    any help is greatly appreciated.

    regards,

    matt

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: nested if statement with index and match within

    Hello good morning.
    A dummy workbook would help us to study your issues.

    Cheers,
    vlady
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    01-22-2012
    Location
    Melbourne, Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: nested if statement with index and match within

    Vanguard Template.xlsx

    Attached is the excel sheet that i have been refering to

    It is not complete and will require me to insert more categories into sheet4 and more kits into sheet3

    Cheers,

    Owen

  4. #4
    Registered User
    Join Date
    01-22-2012
    Location
    Melbourne, Victoria, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: nested if statement with index and match within

    anyone got some input on this problem?

    im really stuck,

    cheers.

    Matt

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: nested if statement with index and match within

    Hello

    something like??
    Maybe......

    =IF(H4="Category 1", INDEX(Q5:T10,MATCH(G9,Q6:Q10,0),2),IF(H4="Category 2",INDEX(Q5:T10,MATCH(G9,Q6:Q10,0),3),INDEX(Q5:T10,MATCH(G9,Q6:Q10,0),4)))

    Vanguard Template.xlsx



    But there is always a better solution out there.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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