+ Reply to Thread
Results 1 to 4 of 4

Trying to have a minimum charge

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Trying to have a minimum charge

    Hi,

    I am trying to have excel come up with a minimum price if my the multiplier for this cell is less than a certain amount. The minimum charge should be $20.

    Here is the formula I have for this cell which currently = 16.50. B2 is "50"

    =B2*0.22/15*2+15

    So what I want is if this formula results in a number less than 20 I want the cell to show 20.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to have a minimum charge

    austenvegas,

    Welcome to the forum!
    I recommend the Max() function:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Trying to have a minimum charge

    =I LOVE YOU MAN! (or woman)

    ---------- Post added at 02:45 PM ---------- Previous post was at 02:42 PM ----------

    Oh one other quick question. How would I have each cell round up to the nearest 5 (of course when it is above the 20.) For example if the result is 161.7 I would want it to show 165.

    Thanks!!!!!!!!!!!!!!!!!!!!!!

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Trying to have a minimum charge

    You can use the Ceiling() function to round up to the nearest 5:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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