+ Reply to Thread
Results 1 to 5 of 5

Formula to Read Values and Insert Status

  1. #1
    Registered User
    Join Date
    09-09-2018
    Location
    Missouri, USA
    MS-Off Ver
    Microsoft for Mac, Version 16.16.1, Office 365
    Posts
    37

    Formula to Read Values and Insert Status

    I need two formulas that read the values in column D compare it to column G and H. Based on the outcome column I would say “100% Met” or “50% Met” or “Not Met”.

    First Formula Rules:
    To achieve "100 % Met" the values in column D have to be greater than or equal to the values in columns G

    To achieve "100 % Met" the values in column D have to be 5 percentage points (90.00% to 95.00%) greater than or equal to the values in column H

    To achieve "50 % Met" the values in column D have to be 3 percentage points (90.00% to 93.00%) greater than or equal to the values in column H

    If not "100% Met" or "50% Met" then the cell in column I should read "Not Met"


    Second Formula Rules:
    To achieve "100 % Met" the values in column D have to be less than or equal to the values in columns G

    To achieve "100 % Met" the values in column D have to be 5 percentage points (90.00% to 85.00%) less than or equal to the values in column H

    To achieve "50 % Met" the values in column D have to be 3 percentage points (90.00% to 87.00%) less than or equal to the values in column H

    If not "100% Met" or "50% Met" then the cell in column I should read "Not Met"


    Needed Formulas to show "100% Met" or "50% Met" or "Not Met" in column I.
    One formula showing greater than or equal to G# or 3 percentage points greater than or equal to H# or 5 percentage points greater than or equal to H#. Increased 3 percentage points but not 5 then it's "50% Met". Increased 5 percentage points or more then it's "100% Met"
    Another formula showing less than or equal to G# or 3 percentage points less than or equal to H# or 5 percentage poitns less than or equal to H#. Decreased 3 percentage points but not 5 then it's "50% Met". Decreased 5 percentage poitns or more then it's "100% Met"

    Note: Percentage points NOT 3 or 5 percentage of value. Example: 90.00% to 95.00% would get "100% Met" or inversed 98.00% to 95.00% would get "50% Met".
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Formula to Read Values and Insert Status

    Your criteria don't make sense. Please elaborate. Specifically:
    To achieve "100 % Met" the values in column D have to be 5 percentage points greater than or equal to the values in column H
    Would make sense, but then you throw in (90.00% to 95.00%) which does not fit.

    Your Note at the end is also unclear.

    This is what I interpreted for the first formula, but it does NOT meet your expected output. Maybe it is enough to get you started.
    =IF(OR(D2>=G2,D2=1.05*H2),"100% Met",IF(D2>=1.03*H2,"50% Met","Not Met"))
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: Formula to Read Values and Insert Status

    Starting from Pauleyb's formula, here's my guess at what you're looking for. First formula:
    Please Login or Register  to view this content.
    Second formula:
    Please Login or Register  to view this content.
    Thanks for doing the thinking on this one, Pauleyb!
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  4. #4
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Formula to Read Values and Insert Status

    Oh, you may have got it. At least your results match expectations. It appears the "(90.00% to 95.00%)" was an example - missing an e.g. in front of it.

  5. #5
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: Formula to Read Values and Insert Status

    I was thrown by the description as well. Then I had a conversation at work that was about percentage increases, and 5% being a .05 increase, rather than 5% of a particular number, and the lightbulb went off. We'll see whether that bulb was just a flicker, I guess

+ 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. [SOLVED] Check read-only status, and if locked - skip all code and give a message box
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2014, 01:32 AM
  2. Replies: 3
    Last Post: 09-11-2014, 04:32 PM
  3. Replies: 4
    Last Post: 04-08-2012, 09:43 PM
  4. How to check Read Only status for active workbook
    By stoney1977 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2008, 05:55 AM
  5. Remove Read Only Status on Excel Templates
    By Dia in forum Excel General
    Replies: 0
    Last Post: 03-10-2006, 12:30 AM
  6. [SOLVED] Read a .xls file and insert its values to certain lines in a text
    By Thegman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2005, 12:15 PM
  7. Replies: 0
    Last Post: 10-18-2005, 02:05 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