+ Reply to Thread
Results 1 to 5 of 5

Trying to write IF Rules for LESS than and GREATER than and value

  1. #1
    Registered User
    Join Date
    11-07-2011
    Location
    Arcata, California
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    52

    Trying to write IF Rules for LESS than and GREATER than and value

    Data is entered in Worksheet "Micro Macro - Enter Data". Trying to figure out excel formula that calls out, "Low", "Good" and "High" for nutrient analysis. In Worksheet "Lettuce", cell E8 needs to say, IF cell D8 is less than B8 its "Low" if D8 is between Cell B8 and C8 its "good" and IF D8 is above C8 its "high". Please help.
    Attached Files Attached Files
    Last edited by ericinarcata; 02-26-2020 at 08:50 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Trying to write IF Rules for LESS than and GREATER than and value

    =IF(D8<B8,"low",IF(AND(D8>=B8,D8<=C8),"good","high"))
    Last edited by mehmetcik; 02-26-2020 at 09:05 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    11-07-2011
    Location
    Arcata, California
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    52

    Re: Trying to write IF Rules for LESS than and GREATER than and value

    Quote Originally Posted by mehmetcik View Post
    =IF(D8<B8,"low",IF(AND(D8>=B8,D8<=8),"good","high"))
    Will that same formula work for all Cells in the column? Not working on the rest of the cells. What does the D8<=8 mean in the formula? Thanks.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Trying to write IF Rules for LESS than and GREATER than and value

    Apologies

    =IF(D8<B8,"low",IF(AND(D8>=B8,D8<=C8),"good","high"))

    As there are No $ symbols you can fill this formula down and it will work.

  5. #5
    Registered User
    Join Date
    11-07-2011
    Location
    Arcata, California
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    52

    Re: Trying to write IF Rules for LESS than and GREATER than and value

    That did it. Merci!

+ 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. Replies: 11
    Last Post: 07-20-2017, 11:26 AM
  2. Replies: 4
    Last Post: 07-29-2013, 12:35 PM
  3. Replies: 1
    Last Post: 07-29-2013, 10:48 AM
  4. [SOLVED] Condition and function to write number value greater than a specific number
    By excelinexcel7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2012, 06:09 PM
  5. How to write a IIF function with greater & less than in query?
    By jgomez in forum Access Tables & Databases
    Replies: 2
    Last Post: 02-29-2012, 07:14 PM
  6. Replies: 2
    Last Post: 12-30-2011, 06:22 PM
  7. [SOLVED] How to write a greater if formula that shows a value?
    By trav2016 in forum Excel General
    Replies: 6
    Last Post: 04-27-2006, 02:10 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