Hello all,
I'm looking for a vba function that lets me have a subtotal that computes the median. I understand there is a method that uses "=MEDIAN(IF(SUBTOTAL(3,OFFSET(" but I am not looking for that. I want to be able to subtotal 10000+ lines of data with 700+ subtotals. When I record macro I get:
Columns("A:H").Select
Selection.Subtotal GroupBy:=2, Function:=xlCountNums, TotalList:=Array(7) _
, Replace:=True, PageBreaks:=False, SummaryBelowData:=True
But I'm looking for the function to be xlMedian. Thank you in advance for any help.
I'm looking for a vba function that lets me have a subtotal that computes the median. I understand there is a method that uses "=MEDIAN(IF(SUBTOTAL(3,OFFSET(" but I am not looking for that. I want to be able to subtotal 10000+ lines of data with 700+ subtotals. When I record macro I get:
Columns("A:H").Select
Selection.Subtotal GroupBy:=2, Function:=xlCountNums, TotalList:=Array(7) _
, Replace:=True, PageBreaks:=False, SummaryBelowData:=True
But I'm looking for the function to be xlMedian. Thank you in advance for any help.