+ Reply to Thread
Results 1 to 8 of 8

Formula to review multiple columns for three values and provide yes or no

  1. #1
    Registered User
    Join Date
    05-05-2022
    Location
    Grand Cayman
    MS-Off Ver
    Enterprise
    Posts
    10

    Formula to review multiple columns for three values and provide yes or no

    Hello,

    I want to review columns B, C, and D and return a value of yes or no if it contains three values that match the following.
    Payment type= Withdrawal in column B
    Year= 2020 in Column C
    Amount <-11

    I only want one yes or no, not multiple yes or nos for each row. e.g. Withdrawal made in 2020 (yes) or (No)

    I've attached a sample.
    Attached Files Attached Files
    Last edited by Wanttobeexcelpro; 05-24-2022 at 02:09 PM.

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Formula to review multiple columns for three values and provide yes or no

    try this in E2:

    =IF(AND(B2="WITHDRAWAL",C2=2020,D2<-11),"Yes","No")
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Registered User
    Join Date
    05-05-2022
    Location
    Grand Cayman
    MS-Off Ver
    Enterprise
    Posts
    10

    Re: Formula to review multiple columns for three values and provide yes or no

    Thank you but I'd like to only report one value after reviewing all columns e.g. review multiple columns for the specific criteria vs. individual cells.

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Formula to review multiple columns for three values and provide yes or no

    is MS enterprise the same thing as MS 365?

  5. #5
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Formula to review multiple columns for three values and provide yes or no

    well if you have MS 365 then the below formula i believe is what you are looking for:

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

  6. #6
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Formula to review multiple columns for three values and provide yes or no

    if you don't have Office 365 you could use this instead:

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

  7. #7
    Registered User
    Join Date
    05-05-2022
    Location
    Grand Cayman
    MS-Off Ver
    Enterprise
    Posts
    10

    Re: Formula to review multiple columns for three values and provide yes or no

    I've tried both and they both provide No when it should be yes.

  8. #8
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Formula to review multiple columns for three values and provide yes or no

    with the sample you provided there are only 3 rows out of the 500+ that are Withdrawal. Of those 3 only 1 is 2020 and is less than -11 so the answer should be "No". According to your original query you wanted it to show yes if there were 3 or more entries that met your criteria. If i change the data you supply so there are 3 WITHDRAWAL with a year of 2020 and less than -11 then my formula returns Yes.

+ 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: 02-12-2021, 07:21 PM
  2. Replies: 11
    Last Post: 01-19-2018, 05:43 AM
  3. Replies: 3
    Last Post: 01-11-2018, 04:41 AM
  4. Replies: 7
    Last Post: 05-08-2015, 01:52 PM
  5. Find common Items in two columns and add corresponding values and provide a single list
    By cell1cell2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2013, 05:24 AM
  6. Find common Items in two columns and add corresponding values and provide a single list
    By cell1cell2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-09-2013, 05:23 AM
  7. Formula to lookup data in multiple columns, find a match and provide output.
    By dwitherow in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-31-2012, 12:24 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