+ Reply to Thread
Results 1 to 4 of 4

Index compare

  1. #1
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Index compare

    Good evening I have to extract some names based on the given condition that I set in the Personal A1 sheet and based on the letter R present Turni sheet.

    In column B, sheet Person, the formula returns an incorrect result, the correct one is in column C if dated 12/01/2019 and with R
    In column D the names that on 12/01/2019 are empty the correct result is in column F
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Index compare

    Please try at
    B3
    =IFERROR(INDEX('Turni '!$A:$A,AGGREGATE(15,6,ROW('Turni '!$A$3:$A$14)/(INDEX('Turni '!$B$3:$N$14,,MATCH($A$1,'Turni '!$B$1:$N$1))="R"),ROWS(B$3:B3))),"")

    D3
    =IFERROR(INDEX('Turni '!$A:$A,AGGREGATE(15,6,ROW('Turni '!$A$3:$A$14)/(INDEX('Turni '!$B$3:$N$14,,MATCH($A$1,'Turni '!$B$1:$N$1))=""),ROWS(D$3:D3))),"")

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Index compare

    Why complicate things?

    Can I suggest that you should regularise the way you keep your Turni Data, and create a two domensional table with columns for

    Date
    Name
    Letter or Blank



    Then either populate all the rows of this three column table and analyse with a Pivot table, or just AutoFilter the data to display Letters or blanks

    Incidentally avoid merged cells. They just create too many problemd in any serious application.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Index compare

    Hi @Bo_Ry
    thanks ok

    @Richard
    no, with the Pivot I had a fight ...

+ 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] Index match 2 fields and compare
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2017, 04:23 PM
  2. [SOLVED] Index and match & Compare Value (Been told this is not possible)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2017, 07:04 AM
  3. Index match and (Compare)
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2017, 09:20 AM
  4. Index match and (Compare)/Conditional formatting !!!!
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-20-2017, 03:32 AM
  5. Using INDEX MATCH formula to compare two fields
    By ntaylor652 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-07-2014, 03:44 PM
  6. Index/Match to return values to compare
    By Iptgfs in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-01-2013, 12:39 PM
  7. Compare data with Index & Match function
    By herukuncahyono in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-27-2010, 02:17 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