+ Reply to Thread
Results 1 to 6 of 6

Calculation within a sumproduct formula

  1. #1
    Registered User
    Join Date
    05-18-2017
    Location
    Langenthal/Switzerland
    MS-Off Ver
    Office365
    Posts
    3

    Calculation within a sumproduct formula

    I would like to calculate and sum the netsales in one step with sumproduct ...

    Gross Tax
    500 4.5%
    750 5.0%
    1000 5.5%

    e.g. 500*1/1.045 + 750*1/1.05 + 1000*1/1055

    Or any alternative way?

    Thanks for any help.

    Andreas

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Calculation within a sumproduct formula

    If I follow you well, and your data is in A2:B4 (row 1 is for headers) then netsales could be calculated as:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    05-18-2017
    Location
    Langenthal/Switzerland
    MS-Off Ver
    Office365
    Posts
    3

    Re: Calculation within a sumproduct formula

    thanks Kaper,

    Net Sales are in A2:A4, Tax Rates in B2:B4

    And the calculation could be simplified by ... 500/(1+4.5%) + 750/(1+5.0% + 1000/(1+5.5%)

    Andreas

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Calculation within a sumproduct formula

    Have you tried the above formula?
    It does exactly 500/(1+4.5%) + 750/(1+5.0%) + 1000/(1+5.5%)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-18-2017
    Location
    Langenthal/Switzerland
    MS-Off Ver
    Office365
    Posts
    3

    Re: Calculation within a sumproduct formula

    Perfect - thanks ...

    One more question:

    How can I additionally filter certain rows for this calculation, when I add an additional column C2:C4 with specific dates for those sales, and I would just like to see the sum for a specific date, or date-range, or month, or year?

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Calculation within a sumproduct formula

    Yes you can.

    If the above is not enough refer to 5th bulletpoint under numbered rulse in https://www.excelforum.com/forum-rul...rum-rules.html

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. [SOLVED] Use sumproduct to further parse a sumproduct calculation
    By Araise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 08:17 PM
  2. SUMPRODUCT calculation in VBA
    By gianluca.calloni in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2012, 09:52 AM
  3. Rewriting sumproduct formula for faster calculation
    By jimstrongy in forum Excel General
    Replies: 1
    Last Post: 04-25-2012, 12:57 PM
  4. SUMPRODUCT for YTD calculation HELP
    By littlelax in forum Excel General
    Replies: 2
    Last Post: 01-19-2012, 12:12 PM
  5. Sumproduct calculation
    By john dalton in forum Excel General
    Replies: 15
    Last Post: 07-19-2011, 07:55 AM
  6. sumproduct calculation
    By leem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2011, 08:45 PM
  7. Faster Calculation than SumProduct?
    By leem in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2009, 03:58 PM

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