+ Reply to Thread
Results 1 to 2 of 2

Nested what if formula with some calculations

  1. #1
    Registered User
    Join Date
    07-03-2013
    Location
    Greensboro, NC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Nested what if formula with some calculations

    So far, the help I've gotten on this board has been huge, so many thanks to everyone! Got another puzzler.

    In field A, I enter a number

    In field B, we enter another number.

    Now, in the final field, I need a result to be returned that calculates based on the following rules:

    If B is 10% or less of A, display C.
    If B is >10% of A, but less than 50%, return H.
    If B is >50% of A, but less than 90%, return M
    If B is >90% but less than 100% of A, return L.
    If B is >A, return F.

    So, example:

    B = 80.

    A = 50.

    Final field should be M (greather than 50% of 80, but less than 90% of it).

    Any thoughts?

    Thanks!

    M.

  2. #2
    Valued Forum Contributor
    Join Date
    10-10-2012
    Location
    New York
    MS-Off Ver
    Excel 2007/2010
    Posts
    337

    Re: Nested what if formula with some calculations

    try this
    =IF(B1>=A1,"F",IF(B1>=0.9*A1,"L",IF(B1>=0.5*A1,"M",IF(B1>0.1*A1,"H","C"))))
    Don't just use the answers provided for you. Try to understand how it works by reverse engineering or asking about it.

    Please mark the thread as [SOLVED] (Thread Tools->Mark thread as Solved) when answered.
    If you're happy with an answer given, please click the * under the person's name to boost their reputation.

+ 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