+ Reply to Thread
Results 1 to 6 of 6

Conditional Minimum??

  1. #1
    Registered User
    Join Date
    10-21-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2000
    Posts
    3

    Conditional Minimum??

    Hello everybody.
    I'm new here, and this is my very first post.



    I want to create a formula for ($Rate/Gram) x (Gram), but requiring a few conditions.

    It requires the minimum of $10.
    When the Rate is $0.00/Gram, the target cell has to show $0.00

    I was able to come up with a formula such as below:

    F30(cell where the formula is)” =MAX(10,(ROUND(SUM(E25*E30),2)))

    One problem is that when E30 turns out to be $0.00/Gram, F30 still shows $10.00, for obvious reason.
    Because the Minimum is set to be $10.00, F30 amount doesn't reflect back to E25*E30.

    Is there any “IF formula” that can be added here so when E30 is $0.00, F30 shows $$0.00, but when E30 is $0.01 or more and F30 is under $10.00, F30 retains the Minimum of $10.00, and at the same time, when F30 is over $10.00, it uses E25*E30 amount rounded up to two decimals?

    I was thinking about creating a “Minimum Column” on G30 to isolate the $10.00 Minimum (if it does any good, that is).

    I've been trying to some up with the solution for months, and was about to give up, but decided to give this forum a try since a lot of experts seem to be here.

    Thank you in advance for your help.


    Best Regards,



    Gitanes081280

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

    Re: Conditional Minimum??

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    [/formula]
    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
    10-21-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2000
    Posts
    3

    Re: Conditional Minimum??

    Dear Mehmetcik,



    Thank you for your reply.

    I tried the formula; however, F30 value does not change until the E30 goes above $10.00.
    (E25 at 700grams) x (E30 at $0.10/gram) still comes out at "$10.00 Flat Rate" when it's supposed to be $70.00.

    I experimented with changing number in your formula as below:

    =if(e30=0,0,if(e30<0.01,10,roundup(e25*e30,2)))

    However, in this formula, the F30 Cell no longer recognizes the Minimum $10.00 anymore.
    (E25 at 700grams) x (E30 at $0.01/gram) comes out as $7.00

    Would you be able to come up with a solution for this, please?
    I hate throw everything at someone without putting in my own effort, but this formula itself is way above my skill.

    Thank you in advance for your help.

    ** If anyone else has any ideas and inputs, please share. Anything helps. **


    Best Regards,



    Gitanes081280

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Conditional Minimum??

    How about:

    =IF(and(E30>=0.01,roundup(E25*E30,2)<10),10,roundup(E25*E30,2))
    Quang PT

  5. #5
    Registered User
    Join Date
    10-21-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2000
    Posts
    3

    Re: Conditional Minimum??

    Dear bebo021999,



    Thank you so much for your help!

    As far as I've been checking the numbers, this formula is working perfectly.

    For the past several months, I spent hours and hours a day, trying to come up with a formula.
    I made one post here, and the problem was solved overnight.

    I wish, one of those days, I become familiar enough with Excel to help others, like you helped me here.

    Thank you again, both of you, for your kindness.


    Best Regards,



    Gitanes081280

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Conditional Minimum??

    You are welcome.
    please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. Help with Minimum function and conditional formatting
    By naga in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-10-2015, 02:58 PM
  2. [SOLVED] Conditional minimum giving #VALUE error
    By captive in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2013, 11:14 AM
  3. If Conditional with minimum Value
    By ali.akkas15 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2013, 01:55 AM
  4. Conditional formating and minimum values
    By jodboulja in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2009, 05:43 PM
  5. Conditional minimum
    By SoftwareTester in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-26-2009, 05:28 AM
  6. Conditional Minimum value
    By mooiw000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2006, 11:45 PM
  7. conditional minimum value of various cells?
    By Al in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-12-2006, 11:30 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