+ Reply to Thread
Results 1 to 3 of 3

IFstatment multiple critera with numbers and text

  1. #1
    Registered User
    Join Date
    10-22-2019
    Location
    London
    MS-Off Ver
    365
    Posts
    6

    IFstatment multiple critera with numbers and text

    Hi everyone,

    Apologies in advance if this is a silly question, but i cant seem to get this IF statement to work.

    Example:

    Qty Type Variant Filter
    10 Apple A
    15 Orange A
    31 Apple B
    20 Orange B
    20 Apple A
    40 Orange C

    I'm trying to create an IFStatment formula to auto populate the filter column with the word 'Sell':

    return 'SELL' if Type is Apple and Variant is A with QTY greater than 15 only and return 'RESERVE' is QTY is less than 15?

    Is this possible to generate into a IFstatment/ formula please?

    Thanks in advance everyone

    CT

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: IFstatment multiple critera with numbers and text

    Maybe this:

    =IF(AND(B3="Apple",C3="A",A3>=15),"Sell",IF(AND(B3="Apple",C3="A",A3<15),"Reserve",""))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IFstatment multiple critera with numbers and text

    In D2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. IFStatment complication
    By ct00010 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-21-2021, 12:26 PM
  2. [SOLVED] Filter/lookup value based on several critera to create specific part numbers
    By stax67 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-13-2020, 04:47 PM
  3. Using IF AND OR with multiple critera
    By 3345james in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-30-2018, 12:46 PM
  4. [SOLVED] Summation of Numbers with Text & Numbers in Multiple Cells with Multiple Criteria...
    By e4excel in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-14-2017, 01:46 PM
  5. [SOLVED] INDEX/MATCH (multiple critera in multiple rows and columns)
    By swma in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-01-2016, 10:02 AM
  6. [SOLVED] IF(AND with multiple critera help!!!
    By Coubs3 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-05-2013, 04:34 PM
  7. Sumproduct with multiple critera, and summing multiple Columns
    By shanea.kr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-09-2012, 03:12 PM

Tags for this Thread

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