+ Reply to Thread
Results 1 to 4 of 4

if/and then, with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    141

    if/and then, with multiple criteria

    Good afternoon,

    I am trying to create a formula that will return a specific dollar amount if certain criteria are met.
    Example:

    If A2 = 1 and B2 = 1, then C2 = $0.085
    If A2 = 1 and B2 = 2, then C2 = $0.175
    If A2 = 2 and B2 = 1, then C2 = $0.110
    If A2 = 2 and B2 = 2, then C2 = $0.200

    Would someone be able to provide me a formula that would work for these conditions?

    I greatly appreciate your time and help!

    Kindest Regards,

    Paula

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: if/and then, with multiple criteria

    Hi Paula,

    How about...

    =IF(AND(A2=1,B2=1),0.085,IF(AND(A1=1,B2=2),0.175,IF(AND(A1=2,B2=1),0.11,IF(AND(A1=2,B2=2),0.2))))

    If you have more than these four criteria, this would get awfully long, so maybe another solution could work.
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    07-23-2019
    Location
    San Antonio, Texas
    MS-Off Ver
    Office 365
    Posts
    141

    Re: if/and then, with multiple criteria

    hello Jeff,

    That was all the criteria I had and the formula works perfectly.
    thank you so much for your help!!!!

    Kindest Regards,
    Paula

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: if/and then, with multiple criteria

    Hi Paula, you're welcome & thanks for the feedback.

+ 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] Lookup multiple criteria in multiple columns in multiple rows; return true if exists
    By ufdlim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-07-2019, 02:03 PM
  2. [SOLVED] Countifs multiple criteria- criteria if cell is greater than another i adjacent column
    By Sircool1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2018, 11:23 AM
  3. Replies: 9
    Last Post: 07-23-2015, 01:21 PM
  4. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  5. [SOLVED] countifs statement with multiple criteria for multiple criteria ranges
    By mcdermott2 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2015, 11:48 AM
  6. [SOLVED] UDF for sum of multiple criteria in multiple columns and single criteria in multiple colum
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 11-22-2013, 04:26 AM
  7. MACROS: Sort by multiple criteria - Create tabs based off of criteria
    By svineyard in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2009, 10:48 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