+ Reply to Thread
Results 1 to 3 of 3

IF Formula HELP

  1. #1
    Registered User
    Join Date
    03-23-2016
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    17

    IF Formula HELP

    Hi everyone,

    I am trying to work out the best function which could help when I am making a calculation - For example:

    2 Type A + 1 Type B + 2 Type C = 100% (This has to be the mix of the product)

    I used this as the 1st formula:

    =IF(AND(Q36>=2,Z36=1,AB36>=2),(Q36+Z36+AB36)/$P$3,(3-(COUNTIF(Q36,0)+COUNTIF(Z36,0)+COUNTIF(AB36,0)))/5)

    However this then doesn't give a fair % if the mix is under - So I tried this:

    =IF(AND(Q10>=2,Z10=1,AB10>=2),(Q10+Z10+AB10)/$P$3,(Q10+Z10+AB10)*$P$4)

    But if you now if you have for example the following:

    0 Type A + 0 Type B + 5 Type C = you still get 100% which is incorrect?!

    Please could anyone help with some ideas how to resolve this calculation or any input so that I can get this right - Even if it's not possible?!?!

    Thanks so much in advance for any help!!

    Adele

    example.jpg
    Example.xlsx
    Last edited by adelem; 03-23-2016 at 08:22 AM.

  2. #2
    Registered User
    Join Date
    10-26-2015
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    36

    Re: IF Formula HELP

    can you please post a sample workbook for us to work in? as your example is not all that clear.
    So if you can add this workbook, and add a row with expected results we can all help out.
    Thinking outside of the box by drawing circles.

  3. #3
    Registered User
    Join Date
    03-23-2016
    Location
    Germany
    MS-Off Ver
    2007
    Posts
    17

    Re: IF Formula HELP

    I think I've added it to the original post...

    Thanks

+ 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: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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