+ Reply to Thread
Results 1 to 11 of 11

calculate my gross profit for each product sold

  1. #1
    Registered User
    Join Date
    04-20-2020
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    5

    calculate my gross profit for each product sold

    Hi All,

    First-time poster here so please be gentle.

    I would like a formula to calculate my gross profit for each product sold. File attached.

    The formula needs to find all data in column G (in green) for the same order ID in column B (in blue)
    Then sum up data in column G to find the gross profit, placing the answer in column J (yellow), when it says Product charge in column E

    How do I build this formula

    Thank you for all the help
    Attached Files Attached Files
    Last edited by Pepe Le Mokko; 04-20-2020 at 12:09 PM. Reason: Title

  2. #2
    Registered User
    Join Date
    03-29-2017
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    56

    Re: Help with Amazon report

    try this in J2 - =IF(E2="Product charges",SUMIFS($G$2:$G$13,$B$2:$B$13,B2),"")

    then copy down

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Help with Amazon report

    Hi stepheno and welcome to the forum,

    Instead of a formula, how about using a Pivot Table. See it attached. No formulas needed. It took 4 clicks and 2 drags to give the included pivot.

    Pivot Table not Sumifs.xlsx

    Time to learn more about Pivot Tables?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    04-20-2020
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with Amazon report

    Brilliant thank you, how do I extend the fields for a larger doc

  5. #5
    Registered User
    Join Date
    04-20-2020
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with Amazon report

    Quote Originally Posted by MarvinP View Post
    Hi stepheno and welcome to the forum,

    Instead of a formula, how about using a Pivot Table. See it attached. No formulas needed. It took 4 clicks and 2 drags to give the included pivot.

    Attachment 673456

    Time to learn more about Pivot Tables?
    Ha, Thanks. Can you point me to a good resource for pivot tables?

  6. #6
    Registered User
    Join Date
    04-20-2020
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with Amazon report

    Quote Originally Posted by rob.callaghan View Post
    try this in J2 - =IF(E2="Product charges",SUMIFS($G$2:$G$13,$B$2:$B$13,B2),"")

    then copy down
    Try again

    Brilliant thank you, how do I extend the fields for a larger doc

  7. #7
    Registered User
    Join Date
    03-29-2017
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    56

    Re: Help with Amazon report

    Marvin is right, the pivot table option is better, for now whilst you brush up on those skills, you can adjust the range by adding the row numbers in here

    =IF(E2="Product charges",SUMIFS($G$2:$G$13,$B$2:$B$13,B2),"")

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: calculate my gross profit for each product sold

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    As you are new I did it for you this time. Please read forum rules

  9. #9
    Registered User
    Join Date
    04-20-2020
    Location
    Durham
    MS-Off Ver
    2010
    Posts
    5

    Re: Help with Amazon report

    Quote Originally Posted by rob.callaghan View Post
    Marvin is right, the pivot table option is better, for now whilst you brush up on those skills, you can adjust the range by adding the row numbers in here

    =IF(E2="Product charges",SUMIFS($G$2:$G$13,$B$2:$B$13,B2),"")
    Thank you, could you briefly take me through this formula?

    Also now I have the Gross profit I would like to minus the product cost. The product cost is a different table but the product name will be the same.

    Thanks again for all the help

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: calculate my gross profit for each product sold

    Administrative Note:

    Please don't quote entire posts unnecessarily. They clutter threads and make them hard to read.
    Use the "Quick reply" instead
    Thanks

  11. #11
    Registered User
    Join Date
    03-29-2017
    Location
    manchester
    MS-Off Ver
    2013
    Posts
    56

    Re: Help with Amazon report

    Quote Originally Posted by stepheno View Post
    Thank you, could you briefly take me through this formula?

    Also now I have the Gross profit I would like to minus the product cost. The product cost is a different table but the product name will be the same.

    Thanks again for all the help

    Yes sure.

    =IF(E2="Product charges",SUMIFS($G$2:$G$13,$B$2:$B$13,B2),"")

    in red is the IF statement, if the cell contains "product charges" then calculate the sumifs, if not make the cell blank
    in green is the sumifs calculation (range to sum, criteria range, criteria)

    hope this helps - if you upload an example worksheet with all the data, ill have a look for you

+ 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. Macro that copies a cell into Amazon search and returns Amazon product ASIN
    By kwiddoes23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2017, 06:28 AM
  2. Intro - Amazon Financial Analyst
    By bluediamond in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 08-21-2017, 02:39 PM
  3. Track Amazon Best Sellers Rank
    By yabastud in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-15-2016, 06:15 PM
  4. Scrape Amazon details
    By cfcMalky in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-22-2016, 05:14 AM
  5. Extraction Amazon Lower FBA Price from Amazon using VBA
    By tahirsatti in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-30-2015, 01:42 PM
  6. Access MWS Amazon API
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2015, 04:17 PM
  7. Amazon.com to excel
    By melatiharum2 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-26-2015, 01:58 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