+ Reply to Thread
Results 1 to 4 of 4

Index, small, if, row llok up multiple values and return a result

  1. #1
    Registered User
    Join Date
    04-24-2015
    Location
    London, England
    MS-Off Ver
    MS 2010
    Posts
    2

    Index, small, if, row llok up multiple values and return a result

    Hello,

    I have a question regarding excel formulas usinf the Index, Small, If and row functions together to return a result. I am not to clever with excel and managaed to put the following Formula together as an array formula.

    =IFERROR(INDEX('Sold New Cars'!$D$2:$D$350,SMALL(IF(Commission!$B$6='Sold New Cars'!$A$2:$A$350,ROW('Sold New Cars'!$A$2:$A$350)-ROW('Sold New Cars'!$A$2)+1),ROW(1:1))),"")

    I have attached below the spreadsheet for you to view.

    EXCEL HELP.xlsx

    Basically the above formula searches for the date on the Sold New Cars tab and returns the customers name based on the month entered into B6 on the Commission tab.

    I would like to expand this formula as I have two executives located on the commision tab B14

    I would like to include this in the above formula so it seraches for the month and sales executive and only returns these results.

    Any help will be greatly appreciated

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index, small, if, row llok up multiple values and return a result

    I didn't download your file.

    You just need to add an additional IF function.

    =IFERROR(INDEX('Sold New Cars'!$D$2:$D$350,SMALL(IF('Sold New Cars'!$A$2:$A$350=Commission!$B$6,IF(Executive_Range="Some Executive",ROW('Sold New Cars'!$A$2:$A$350))-ROW('Sold New Cars'!$A$2)+1),ROWS(A$1:A1))),"")

    Still array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-24-2015
    Location
    London, England
    MS-Off Ver
    MS 2010
    Posts
    2

    Re: Index, small, if, row llok up multiple values and return a result

    Thank you for your help regarding this. It has got the formula working properly, however now the results will not start in the first row as required they start on the 5th or 6th row depending on data selected.

    Is there an easy fix to this?

    Many thanks

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index, small, if, row llok up multiple values and return a result

    Post the exact formula you are using and tell me what is the first cell that the formula is entered in.

+ 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: 7
    Last Post: 10-10-2014, 05:40 PM
  2. Replies: 10
    Last Post: 05-22-2014, 06:44 AM
  3. [SOLVED] Dependent Dropdown List Using Index and Small Won't Return Multiple Values
    By ebevis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2013, 02:28 AM
  4. return multiple matches using INDEX and SMALL
    By merlyn45 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2013, 05:14 AM
  5. Using Index & Small to return multiple values
    By BHudPE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2010, 06:06 AM

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