+ Reply to Thread
Results 1 to 7 of 7

Is it possible to use Index, Match, as well as If and AND in a Formula?

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Florida, Florida
    MS-Off Ver
    2013
    Posts
    5

    Is it possible to use Index, Match, as well as If and AND in a Formula?

    Hello. I'm brand new to this forum. I'm struggling with a formula that will verify data from 3 different columns in the same row on a different tab.

    My exported data, located on my Data tab, has three columns, "Title of Book(column A)," "Read(column B)," and "Name of Person (column C)."

    My Read Status tab is where I have table that I would like to compile the data. On this tab, column A (A2 is the first cell, A1 is blank) is the complete roster of every person that should have read the books. B1, C1, D1, etc. are the titles of each book that has been released. I need a formula to check the Data tab for the specific "Title of Book" and then stay on that corresponding row to check for "Read(it should be a yes or no credit is given) and ensure it matches the name on my roster. Can someone help?

    =IF(AND(Data!A:A='Sign Off Status'!B$2,Data!$C:$C='Sign Off Status'!A7,Data!B:B="Yes")*TRUE,FALSE)
    Attached Files Attached Files
    Last edited by strizzlow20; 11-15-2017 at 07:38 PM. Reason: Admin Requested

  2. #2
    Forum Contributor
    Join Date
    08-29-2017
    Location
    Canada
    MS-Off Ver
    Window 2013
    Posts
    127

    Re: Index/Match Formula?

    Strizz can you provide a sample excel sheet for us? just make sure all private data is removed, or you can create a replica that resembles the excel document.

    -Noah

  3. #3
    Registered User
    Join Date
    11-14-2017
    Location
    Florida, Florida
    MS-Off Ver
    2013
    Posts
    5

    Is it possible to use Index, Match, as well as If and AND in a Formula?

    Hey there Noah, thank you for your reply. My apologies for the delay, I've attached a spreadsheet. Below is the formula I was using trying to obtain a True or False value on the Read Status tab.

    =IF(AND(Data!A:A='Read Status'!B$2,Data!$C:$C='Read Status'!A4,Data!B:B="Yes")*TRUE,FALSE)
    Last edited by strizzlow20; 11-15-2017 at 10:33 PM.

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

    Re: Is it possible to use Index, Match, as well as If and AND in a Formula?

    In B2:

    =IFERROR(INDEX(Data!$B$2:$B$13,MATCH(1,('Read Status'!$A2=Data!$C$2:$C$13)*('Read Status'!B$1=Data!$A$2:$A$13),0)),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy across and down.
    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.

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Is it possible to use Index, Match, as well as If and AND in a Formula?

    or try

    B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy across
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Registered User
    Join Date
    11-14-2017
    Location
    Florida, Florida
    MS-Off Ver
    2013
    Posts
    5

    Re: Is it possible to use Index, Match, as well as If and AND in a Formula?

    Thank you both. This is exactly what I needed. I had a lot of trouble finding a starting point and you both have been a huge help. Thanks again! I will close this thread and I've added reputation for you both.

  7. #7
    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,719

    Re: Is it possible to use Index, Match, as well as If and AND in a Formula?

    You're welcome!

+ 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: 4
    Last Post: 04-14-2017, 07:47 PM
  2. Index Match formula changing my Index daily
    By vitt4300 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-31-2017, 02:19 PM
  3. [SOLVED] This formula works but I donīt understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  4. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  5. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  6. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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