+ Reply to Thread
Results 1 to 3 of 3

gross profit margin formula

  1. #1
    julmcgrath
    Guest

    gross profit margin formula

    I'm trying to figure out the formula for a gross profit margin percentage as
    follows:

    In Col A2, I will have a cost (i.e. $15.00)
    In Col B2, I would like the result to be the total markup of $15.00 based on
    a 40% gross profit margin, and then I need the resulting number to be rounded
    up or down to the nearest $0.05, ending in a "5."

    The resulting number should be $24.95, but I can't get it to come out that
    way.
    Any suggestions would be appreciated!

  2. #2
    dlw
    Guest

    RE: gross profit margin formula

    Getting the 40% markup is easy, right? The rounding is the tricky pary. Use
    this formula:

    =A1+0.05-((A1*10) - INT(A1*10))/10

    A1 is the cell with the number you want to round.

  3. #3
    David Biddulph
    Guest

    Re: gross profit margin formula

    "dlw" <[email protected]> wrote in message
    news:[email protected]...
    > Getting the 40% markup is easy, right? The rounding is the tricky pary.

    Use
    > this formula:
    >
    > =A1+0.05-((A1*10) - INT(A1*10))/10
    >
    > A1 is the cell with the number you want to round.


    But that rounds to 25.05 when the OP was looking for 24.95.

    Continuing on dlw's theme, I think you might get the right answer with
    =-(-A1+0.05-((-A1*10) - INT(-A1*10))/10)
    but I would hope that there might be a more elegant way.
    --
    David Biddulph



+ 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