+ Reply to Thread
Results 1 to 3 of 3

Need formula to calculate average Gross Profit Margin including $0 samples.

  1. #1
    Registered User
    Join Date
    02-02-2015
    Location
    Arizona
    MS-Off Ver
    2013
    Posts
    14

    Need formula to calculate average Gross Profit Margin including $0 samples.

    First off, I know very little about formulas and feel really stupid.

    Main objective is to see if the Samples are outweighing the Sales Profit Average.

    In my workbook, I need to calculate Gross Profit Margin with a DA (depletion allowance) in dollars and the next column as a percentage. My problem is I have Samples that go out as $0 creating a negative Gross Profit Margin and Percentage creating the famous error #DIV/0!. I need to get the error to actually be a negative percentage if that makes sense.

    Column L = Gross Profit Margin with a DA $$
    Column M = Gross Profit Margin with a DA % (problem column)

    Workbook attached.

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Need formula to calculate average Gross Profit Margin including $0 samples.

    Please add some expected results of Column M to your sheet.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,218

    Re: Need formula to calculate average Gross Profit Margin including $0 samples.

    If E2 + G2 is zero, you can't get anything other than 0 (hence the error). Something needs to change. Add some expected reuslts where there are errors to show what you want - do this in the adjacent column.

    Are you still using Excel 2013?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Pivot table profit and loss by month - calculate gross profit and gross profit %
    By parkviewfinance in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2020, 02:34 AM
  2. Solved Gross profit margin with Vat
    By 2011winner in forum Excel General
    Replies: 3
    Last Post: 06-13-2019, 08:45 AM
  3. Net Margin Formula Using SUM= To Calculate Gross Margin Cells
    By jezrp22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-26-2015, 08:41 PM
  4. [SOLVED] Formula to calculate supplier evaluation scores based on their profit margin %
    By The_Snook in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2015, 06:03 PM
  5. [SOLVED] Need help obtaining correct formula to handle Gross Profit Margin
    By coreytroy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-26-2014, 01:33 AM
  6. gross profit margin formula
    By julmcgrath in forum Excel General
    Replies: 2
    Last Post: 03-11-2005, 11:06 AM

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