+ Reply to Thread
Results 1 to 4 of 4

Nested function

  1. #1
    Registered User
    Join Date
    03-19-2024
    Location
    Columbus,Ohio
    MS-Off Ver
    Ms Office 360
    Posts
    4

    Nested function

    How can I use a nested function with Match and Index?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Nested function

    More information required.

    Something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Nested function

    It is better to ask about how to get the result you need, rather than asking about a technique in the abstract. Trevor showed one example of MATCH nested in INDEX. Here is another using MATCH twice:

    Values as displayed
    A
    B
    C
    D
    E
    F
    G
    H
    1
    7
    2
    b
    3
    x
    4
    a
    b
    c
    d
    e
    5
    w
    1
    2
    3
    4
    5
    6
    x
    6
    7
    8
    9
    10
    7
    y
    11
    12
    13
    14
    15
    8
    z
    16
    17
    18
    19
    20
    Sheet5


    Underlying formulas
    A
    B
    C
    D
    E
    F
    G
    H
    1
    =INDEX($D$5:$H$8,MATCH($A$2,$D$4:$H$4,0),MATCH($A$3,$C$5:$C$8,0))
    2
    3
    4
    5
    6
    7
    8
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Nested function

    @Fafo

    There is a typo in your forum profile - please change 360 to 365. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 03-02-2021, 10:50 PM
  2. Excel function: countifs with nested OR function and wildcards
    By Franfv in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-18-2020, 03:57 AM
  3. Replies: 2
    Last Post: 01-05-2019, 03:33 AM
  4. [SOLVED] Nested vlookup or nested IFAND function?
    By jeptik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-11-2017, 02:27 AM
  5. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  6. COUNTIF/COUNTIFS function + nested user-defined function
    By shamjamali in forum Excel General
    Replies: 1
    Last Post: 05-12-2015, 09:12 PM
  7. [SOLVED] Offset function with nested match function not finding host ss.
    By MKunert in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2006, 06:50 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