+ Reply to Thread
Results 1 to 6 of 6

Formula Issue IF

  1. #1
    Registered User
    Join Date
    11-06-2023
    Location
    USA
    MS-Off Ver
    365 Version 2310
    Posts
    9

    Formula Issue IF

    Hi, I am trying to use the IF formula for some data. I want to designate them based on their grand total. If its within a certain range then it would be designated 1, 2. or 3. 1 being the highest.

    For numbers around 50-70 I am getting an error. Here is the formula.

    Grand Total =54
    =IF(AK13<10,"3",IF(AK13>60,"2",IF(AK13>75,"1")))

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Formula Issue IF

    So what are the ranges as any value betwee 10 and 60 is not included in the formula

    And remove quotes around the numbers as they will treated as TEXT : 3 vs "3"

    76 will result in 2 as it passes the ">60" test!
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Formula Issue IF

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    11-06-2023
    Location
    USA
    MS-Off Ver
    365 Version 2310
    Posts
    9

    Re: Formula Issue IF

    The ranges are 1-1000 essentially.

    If the number is less than or equal to 10 then it will be 3.

    IF the number is greater than 10 but less than 60 then it will be 2.

    If the number is greater than 75 then it will be 1.

    How would I make it for this?

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Formula Issue IF

    =IF(AK13<=10,3,if(AK13<60,2,if(AK>75,1,"out of range")

    so between 60 and 75 "out of range"

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Formula Issue IF

    What result you expect with a number between 60 and 75?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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 issue
    By Jasper1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2024, 01:05 PM
  2. Replies: 0
    Last Post: 05-05-2021, 12:36 AM
  3. Replies: 7
    Last Post: 12-15-2017, 12:14 AM
  4. [SOLVED] Index Match Formula Issue - Lookup Value is a Formula
    By dodgemain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2016, 11:48 AM
  5. [SOLVED] Issue with For Each Formula
    By justinpeeler in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2014, 04:52 PM
  6. Lookup Formula Issue, Search issue
    By kperitz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-07-2014, 01:50 PM
  7. Formula Issue
    By CooperGuy in forum Excel General
    Replies: 1
    Last Post: 01-28-2011, 01:35 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