+ Reply to Thread
Results 1 to 4 of 4

complicated IFTHEN formula

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    Texas
    MS-Off Ver
    Excel 2019, 365
    Posts
    40

    complicated IFTHEN formula

    I would like to get an IFTHEN formula or whichever is appropriate for the following situations:

    Case #1
    If A2 is in the range of 0.70-4.11, then “4”; else
    if A2 is in the range of 4.11-9.48, then “3”; else
    if A2 is in the range of 9.48-16.19, then “2”; else
    if A2 is <0.79 or >16.19, then “1”

    Case #2
    If A2 is <25, then “4”; else
    if A2 is in the range of 25.1-50.11, then “3”; else
    if A2 is in the range of 50.12-75, then “2”; else
    if A2 is >75 or 0, then “1”

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: complicated IFTHEN formula

    What if A2 = .75?
    Gary's Student

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,832

    Re: complicated IFTHEN formula

    A lookup table using the VLOOKUP() function seems easier than an IF function http://office.microsoft.com/en-us/ex...011.aspx?CTT=1
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    02-06-2013
    Location
    Texas
    MS-Off Ver
    Excel 2019, 365
    Posts
    40

    Re: complicated IFTHEN formula

    Quote Originally Posted by Jakobshavn View Post
    What if A2 = .75?
    Sorry for the typo in Case# 1 line 1. It should be
    If A2 is in the range of 0.79-4.11, then “4”; else

    Thanks for the correction. This might be a LOOKUP formula, I'm not sure.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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