View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default Insert Median Automatically

How about an easy way...

select your range
Data|Subtotals
Use Sum for function
and only apply it to column C.

Then select column C and do:
edit|replace
what: =subtotal(9,
with: =median(
replace all



paynestreet wrote:

I have sheet sorted by the month column. WHen the value of month
changes, I want to insert MEDIAN (C1:C25), than continue on and insert
MEDIAN(C26:...). IT's a simple level break problem but I don't know
enough VB to do it.

--
paynestreet
------------------------------------------------------------------------
paynestreet's Profile: http://www.excelforum.com/member.php...o&userid=28694
View this thread: http://www.excelforum.com/showthread...hreadid=483787


--

Dave Peterson