Possible to get multiple data reports back from one column of data using this sumproduct formula?

Jennifre

Board Regular
Joined
Jan 11, 2011
Messages
160
Hi, I'm using this sumproduct formula to get the percentage of 1s in a column of data (thanks Aladin!).

I'm wondering if it's possible to change the formula to give me several percentages for 1s, 2s, 3s, and 4s in column AP [of data matches between numbers in columns DG and AM, to explain the formula below], and to give them in the same cell -- is this possible?

Ideally, I"d like to get back a row of cells reading something like:
10% - 25% - 3% - 67%, to indicate the % of 1s 2s 3s and 4s in that column.

=SUMPRODUCT(
--($DG$2:$DG$1364=$AM1385),
--ISNUMBER(MATCH(AP$2:AP$1364,{1},0)))/
SUMPRODUCT(
--($DG$2:$DG$1364=$AM1385),
--($AP$2:$AP$1364>=0)
--($AP$2:$AP$1364<=4))
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi there, I entered it into AP1385.

I'm curious how that influences your answer or thinking! Looking forward to your response, Aladin, thanks, as always! ;0
 
Upvote 0

Forum statistics

Threads
1,224,604
Messages
6,179,857
Members
452,948
Latest member
UsmanAli786

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