Sumproduct large for every over cell in a specific row.

lambi153

New Member
Joined
Mar 6, 2018
Messages
12
Hi,

I had a formula which worked out the sumproduct large for a range of cells which excluded the highest figure.

Code:
=SUMPRODUCT(LARGE('Stableford scores Summer 2018'!B5:AG5,{2,3,4,5,6}))

The problem I have is that I don't want to include the value in every other column i.e C5,E5,G5 etc. Does anyone know how I might be able to edit the code to do this?

I tried the following but it returns VALUE!

Code:
[COLOR=#333333]=SUMPRODUCT(--(MOD(COLUMN(B5:AG5),2)=1),--(B5:AG5),[/COLOR]{2,3,4,5,6}[COLOR=#333333])[/COLOR]

Thank you in advance.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Those formulas must be combined. SUMPRODUCT would need to be entered with Ctrl+Shift+Enter because it's a complex array formula. I changed it to SUM (entered with
Ctrl+Shift+Enter) so there'll be no confusion.

Remember, Ctrl+Shift+Enter first, then copy down after:
Code:
=SUM(LARGE((MOD(COLUMN(B5:AG5),2)=1)*B5:AG5,{2,3,4,5,6}))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top