+ Reply to Thread
Results 1 to 5 of 5

Display Text With 2 Criterias

  1. #1
    Registered User
    Join Date
    02-27-2019
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    4

    Display Text With 2 Criterias

    Hello,

    Not sure how to approach this formula...

    I would like to have a formula that checks two criterias in the "State" and "Formula Check" columns and displays text from "Notes"

    For example I want to display the note "1 Rear" in cell F4.
    When the "State" is "MI"
    When the "Formula Check" is "YES"

    Excel Example.jpg

    Thank you

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,923

    Re: Display Text With 2 Criterias

    Try this

    =LOOKUP(2,1/($A$2:$A$14=$F$2)/($B$2:$B$14=$F$3),$C$2:$C$14)

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: Display Text With 2 Criterias

    perhaps
    =INDEX($C$2:$C$14,MATCH(F2,$A$2:$A$14,0),MATCH(F3,$B$2:$B$14,0))
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    02-27-2019
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    4

    Re: Display Text With 2 Criterias

    Excellent Works Perfect THANK YOU!

  5. #5
    Registered User
    Join Date
    02-27-2019
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    4

    Re: Display Text With 2 Criterias

    Quote Originally Posted by Phuocam View Post
    Try this

    =LOOKUP(2,1/($A$2:$A$14=$F$2)/($B$2:$B$14=$F$3),$C$2:$C$14)
    This worked perfectly thank you Phuocam.
    Here is another question, what if the formula is true for two rows. Can I include the notes from both cells into one cell?

+ 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] MsgBox Text Display Problem: display text is truncated
    By slbrick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2018, 04:02 PM
  2. [SOLVED] Macro Find set criterias to a colomn of number, delete the rows that don't meet criterias
    By TAMMY32 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-03-2017, 04:09 PM
  3. Display the result with multiple criterias. [Solved]
    By vho in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2017, 12:16 AM
  4. [SOLVED] Check if value exists in column, and display certain value matching 2 criterias
    By Andrewjs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2017, 02:02 PM
  5. Replies: 1
    Last Post: 06-08-2016, 10:14 AM
  6. Display comments when highlight the number based on 3 criterias
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-24-2015, 07:35 AM
  7. [SOLVED] LookUp Text by two criterias
    By dLhx in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-25-2015, 04:36 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