Hi,
I have a dataset with two alternating rows "Rate" and "Quantity" over 10 columns.
I need to multiply Rate*Quantity for each set of rows for all columns and get the sum for the whole dataset
I need a solution to avoid multiple SUMPRODUCTs
Hi,
I have a dataset with two alternating rows "Rate" and "Quantity" over 10 columns.
I need to multiply Rate*Quantity for each set of rows for all columns and get the sum for the whole dataset
I need a solution to avoid multiple SUMPRODUCTs
Hi and welcome
Attach a sample workbook (not a picture or pasted copy). 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.
Hi,
Thanks for the reply..
Attached reference file
However original dataset has 100s of rows so multiple SUMPRODUCT solution is tiring& prone to errors..
a single SUMPRODUCT should suffice:
Formula:Please Login or Register to view this content.
edit, and if you prefer to avoid explicit coercion on the product ranges themselves:
Formula:Please Login or Register to view this content.
Last edited by XLent; 02-13-2019 at 06:27 AM.
Try this:
=SUMPRODUCT((C2:K9)*(C3:K10)*(MOD(ROW(C2:K9),2)=0))
Hope this helps.
Pete
Try
Formula:Please Login or Register to view this content.
Hi gurus,
Thanks for the prompt response.
All solutions work perfectly
May I know which of these solutions would be using least resources ( the file is already a bit heavy)
they will all perform similarly, indeed some of them are simply repetitions of each other...
used in isolation, with reasonable dimensions, and with non-volatile precedents, there should be an immaterial impact on performance.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks