+ Reply to Thread
Results 1 to 11 of 11

Merging two index function formulae effects

  1. #1
    Registered User
    Join Date
    05-06-2016
    Location
    Scotland
    MS-Off Ver
    2010 and Office 365
    Posts
    4

    Question Merging two index function formulae effects

    Hi All,

    Brand new to this so hoping for some help.
    I have two forumal i want to combine into one overall effect that provides a unique list based on matching a criteria.

    Matching a criteria: =INDEX(Index!$D:$D,MATCH(Fetch!$F$1,Index!$B:$B,0)) [Finding a result that matches some text in F1]

    Creating a full unique list: =IFERROR(INDEX(Index!$D$3:$D$51,MATCH(0,INDEX(COUNTIF($E$2:E4,Index!$D$3:$D$51),0,0),0)),"")

    I want to create a full unique list from all things in the criteria, so when i input into Fetch!$F$1 a piece of text, the entire list of all unique associated values appears.

    Hope it's not an impossible as it would speed my day up no end.

    All help gratefully received.

  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: Merging two index function formulae effects

    Try this array formula**:

    =IFERROR(INDEX(Index!D$3:D$51,MATCH(0,IF(Index!B$3:B$51=Fetch!F$1,COUNTIF(E$2:E4,Index!D$3:D$51)),0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    05-06-2016
    Location
    Scotland
    MS-Off Ver
    2010 and Office 365
    Posts
    4

    Re: Merging two index function formulae effects

    It partially works, however only fetches back one result, in this case the first one as if only the criteria index is running.

  4. #4
    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,306

    Re: Merging two index function formulae effects

    Did you enter as ..????

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    It would help if you posted a sample Excel file (not image) with some expected results.

    To upload a file, click "Go Advanced" then "Manage Attachments"

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

    Re: Merging two index function formulae effects

    I think we'll need to see the file or a representative sample file.

    I would prefer a SMALL representative sample file with just enough data to demonstrate what you're wanting to do.

    20 rows worth of data is plenty.

  6. #6
    Registered User
    Join Date
    05-06-2016
    Location
    Scotland
    MS-Off Ver
    2010 and Office 365
    Posts
    4

    Post Re: Merging two index function formulae effects

    Hoping this works as it's first time attaching a file.

    Should be on this as showing a success.

    The idea is when selecting a system identifier it pulls in a unique list of data measures and then if that works a second selector from those data measures can then show a list of data points.

    Thanks in advance.
    Attached Files Attached Files

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

    Re: Merging two index function formulae effects

    See attached: I changed entries in INDEX to give more results in FETCH.
    Attached Files Attached Files

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

    Re: Merging two index function formulae effects

    I downloaded your file but I can't figure out what you're trying to do with it.
    Last edited by Tony Valko; 05-09-2016 at 08:14 AM.

  9. #9
    Registered User
    Join Date
    05-06-2016
    Location
    Scotland
    MS-Off Ver
    2010 and Office 365
    Posts
    4

    Lightbulb Re: Merging two index function formulae effects

    Hi Tony,

    The idea is to create a formulae that pulls, based on the dropdown selected, a unique list of all the dependant or associated components from the index.

    So by selecting 1 in the dropdown you would get

    Data Measured Table Column
    Billable Time A Phone
    Unbillable time A Phone
    System abscence A Phone

    Hope that makes sense.

    John, your solution seems to work and i'm trying a few things to put it into practice on real data so thank you hugely

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

    Re: Merging two index function formulae effects

    Still not getting it.

    If you have a solution then I'll just move along.

    Good luck!

  11. #11
    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,306

    Re: Merging two index function formulae effects

    @Tony,
    "My" solution used the formula you provided (minor change on range) to get the unique list and then I added VLOOKUPs to get the other data.

    So credit goes to 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. IF, AND, OR Function Formulae ?
    By ceejayeeg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2016, 08:50 PM
  2. [SOLVED] Using INDIRECT with a dynamic range name as the array in an INDEX formulae = #REF
    By Gandalf21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2013, 09:27 AM
  3. Need an IF function formulae.
    By ShiroKuro in forum Excel General
    Replies: 6
    Last Post: 12-17-2012, 08:29 AM
  4. [SOLVED] OR function within a sumproduct formulae
    By Fursmanm in forum Excel General
    Replies: 3
    Last Post: 10-03-2012, 08:30 AM
  5. [SOLVED] Understand lookup, index & match formulae
    By Dushantha in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2012, 05:50 AM
  6. Replies: 5
    Last Post: 05-14-2012, 08:55 AM
  7. Combining index, address, reference-type formulae
    By cmboulter in forum Excel General
    Replies: 4
    Last Post: 12-22-2011, 11:27 AM

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