+ Reply to Thread
Results 1 to 5 of 5

Two if formulas in one cell

  1. #1
    Registered User
    Join Date
    01-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    33

    Two if formulas in one cell

    My current formula is: =IF(ISERROR(AVERAGE(D14,G14,J14,M14,P14)),"",AVERAGE(D14,G14,J14,M14,P14))
    It works great and does exectly what I need, there is only one problem. It shows the actual result. What I need it to do is "cap-out" at 100%. I can not have it measuring at over 100%. So if the result is 235%, I need it to read 100%. If it is 99% or less, I need it to read 99% or less. I need this while still showing a blank if there is an error.

    Please help!!! Thanks in advance!!!

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Two if formulas in one cell

    How about this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    - Moo

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    Wirral, England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Two if formulas in one cell

    Tidiest solution is to use =MIN(100%, ..................... )

    (where is the formula/code button???)

    Found it sorry, because you want a blank for 0% perhaps like this ..

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your averages are not percentages then you will need to use MIN(1, .....)
    Last edited by DiggingDeeper; 10-30-2012 at 03:19 PM. Reason: additinal gen

  4. #4
    Registered User
    Join Date
    01-27-2012
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Two if formulas in one cell

    You get the prize. Thank you very much - works perfectly. Thank you to everyone else as well for your efforts.

  5. #5
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Two if formulas in one cell

    You're welcome, JRR.

    - - - - - - - - - -
    If your question has been answered, please remember to mark the thread as [SOLVED] by clicking on 'Thread Tools' right above your original post, and select 'Mark thread as solved".

    Also, if you want to thank anyone that has helped you with a solution, click on the star below their name in one of their posts. It's always appreciated.

+ 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