+ Reply to Thread
Results 1 to 4 of 4

If Greater than or small than, or equal to

  1. #1
    Registered User
    Join Date
    10-02-2006
    Posts
    12

    Post If Greater than or small than, or equal to

    Hi everyone,

    I am not sure how to do this, I hope you can help.

    I have a cell, M87.

    The score in M87 can be less than 13 or greater than 25

    I need a formula within M94 which refers to M87, and outputs depending on the the following criteria

    If M87 is less than 13 then output as D

    If M87 is 14, 15, 16, or 17 then output as C

    If M87 is 18, 19, 20, 21, 22, 23 or 24 then output as B

    If M87 is greater than 24 then output as A.

    I hope you can help me with this formula.

    I look forward to hearing from you.

    Ravi
    Last edited by ravisandhu; 04-21-2009 at 09:13 AM. Reason: Solved

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: If Greater than or small than, or equal to

    Try

    =Lookup(M87,{0,14,18,25},{"D","C","B","A"})
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-21-2009
    Location
    Nottingham
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: If Greater than or small than, or equal to

    Or the long winded way

    =IF(M87<13,"D",IF(M87>13,IF(M87<18,"C"),IF(M87<25,"B","A")))

    BTW if your result IS 13, it will return A as you are only asking for above or below values and not equal too.

  4. #4
    Registered User
    Join Date
    10-02-2006
    Posts
    12

    Re: If Greater than or small than, or equal to

    HI the lookup worked a treat, thanks for that

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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