Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Producing the data for an Excel distribution graph 1

Status
Not open for further replies.

mikelawrence

Programmer
Sep 19, 2001
68
GB
I want to produce a graph of what % of people produce what % of revenue, e.g. the top 20% of people contribute 50% of revenue type of thing. I'll produce the graph itself in Excel but have now realised i am slightly clueless as to a good way of producing the data to run the graph from. Any ideas?

Thanks

Mike
 
Two running totals (count, sum) over result set sorted descending. (ORDER BY revenue DESC).

AFAIK this can be also done with raw data and Excel pivot report/chart (paperclip included :p ).

------
"There's a man... He's bald and wears a short-sleeved shirt, and somehow he's very important to me. I think his name is Homer."
(Jack O'Neill, Stargate)
[banghead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top