View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
William Elerding William Elerding is offline
external usenet poster
 
Posts: 12
Default Macro_Pivot table_Cum%

Good evening, and thank you in advance for some macro advice. I have a pivot
table delineating turn-around-time of laboratory tests by 1/10th hour. I'd
like to have a macro that calculates the time that the 50th, 80th and 90th
percentile of occurances are. Ideally, I'd show the results below the macro,
as in the example below. Any thoughts?

Count of Hour, Receive to Verify
Hour, Receive to Verify

Hour AMY BMP BNP
0 4
0.1 2 3
0.2 6 24
0.3 11 96
0.4 17 99
0.5 4 85 9
0.6 7 39 12
xxx xxx xxx
Grand Total 60 426 59

50% .5 .4
80% .7 .7
90% .8 .8

-End-