PDA

View Full Version : Conditional Subtotal Help



mzsuga
02-22-2010, 03:13 PM
I have a sheet that has several columns. In one column, column X, it contains percentages. So every row would contain a percentage or it can be blank.

So i sort the sheet by Column X ascending. Is there a way to automatically insert a subtotal line with all rows containing percentages Greater than 50%, and then insert another subtotal line with all rows with percentages Less than 50% and then one more subtotal line containing all rows with blanks.

Bob Phillips
02-22-2010, 03:29 PM
Maybe add a formula like

=IF(A2="","Blank",IF(A2<=0.5,"LTE 50%","GT 50%")

in a helper column, then use Data>Subtotals breaking on the helper columns