Summarise values in a column that are above a certain calculated %

Chalklands

New Member
Joined
May 17, 2018
Messages
13
Hi,
I have a table of data with these columns:

Customer Actual Sales Target Sales

I want to calculate an overall total sales value at the top of the spreadsheet for customers where Actual Sales/Target sales is above 70%.

Do I use sum product, sumif or an array formula? Any help would be greatly appreciated.

Thanks

Pete
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi Pete,

Maybe you could use these?


Book1
ABCDEFGH
1CustomerActualTargetVar %CRITERIACRITERIA70%
2customer1$60.00$150.0040%
3customer2$140.00$150.0093%TOTAL$621.00
4customer3$110.00$150.0073%
5customer4$70.00$150.0047%CUSTOMERScustomer2$140.00
6customer5$80.00$150.0053%customer3$110.00
7customer6$90.00$150.0060%customer7$108.00
8customer7$108.00$150.0072%customer9$148.00
9customer8$65.00$150.0043%customer10$115.00
10customer9$148.00$150.0099%
11customer10$115.00$150.0077%
Sheet1
Cell Formulas
RangeFormula
G3=SUMIFS($B$2:$B$11,$D$2:$D$11,">="&$G$1)
G5{=IFERROR(INDEX($A$2:$A$11,SMALL(IF($D$2:$D$11>=$G$1,ROW($D$2:$D$11)-ROW($D$2)+1),ROWS($G$5:G5))),"")}
H5{=IFERROR(INDEX($B$2:$B$11,SMALL(IF($D$2:$D$11>=$G$1,ROW($D$2:$D$11)-ROW($D$2)+1),ROWS($G$5:G5))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
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