+ Reply to Thread
Results 1 to 3 of 3

IF Statement based on number meeting certain criteria

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Question IF Statement based on number meeting certain criteria

    Hello,

    Been trying to figure out how to write an if statement that will output a string based on if a number falls within a certain range.

    My criteria is below:

    Category 1 <10,000
    Category 2 10,000 - 15,000
    Category 3 15,000 - 20,000
    Category 4 >20,000

    So if I input 8,00 in cell B3, then it should output "Category 1", and so on, based on the above criteria. Thanks!

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: IF Statement based on number meeting certain criteria

    =LOOKUP(B3,{0;10000;15000;20000},{"Category 1";"Category 2";"Category 3";"Category 4"})


    depends where your boundaries truly fall eg which group 15000 is in

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: IF Statement based on number meeting certain criteria

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

+ 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. Formula for Meeting a number of OR Criteria
    By jp16 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2018, 11:29 PM
  2. finding row number in other workbook meeting 2 criteria
    By Menolly4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2015, 08:23 AM
  3. [SOLVED] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  4. [SOLVED] Count number of rows meeting either criteria
    By abousetta in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-14-2014, 05:35 AM
  5. [SOLVED] How can a find the row number of a row meeting specified criteria?
    By satania in forum Excel General
    Replies: 2
    Last Post: 05-29-2012, 10:12 AM
  6. Excel 2007 : If Then Statement meeting multiple criteria
    By tonedog54 in forum Excel General
    Replies: 6
    Last Post: 05-20-2010, 04:37 PM
  7. Replies: 0
    Last Post: 08-25-2005, 05:49 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