Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I automatically populate a Pareto chart in sequence?

I can make a pareto in Excel. My problem is that As data is collected
throughout the month, The order changes in my table and I have to run a macro
to re-align the data every day. Is there a way (using a formula or a
template) to automatically sort the data into descending order?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How do I automatically populate a Pareto chart in sequence?

If you want to do it inplace, you would need a macro.

if you want to do it with formulas, you can use the small or large worksheet
functions.

=small($A$1:$A$10,row(A1))

entered in M30 for example, then copied down for a total of 10 rows will
display the values in A1:A10 in ascending order.

You can fill in other data to the right (if necessary) by using Vlookup.
This would assume the values in A1:A10 are unique.


for a macro, you could use the change event to sort the data whenever a
change is made in a specific column for example. Rigth click on the sheet
tab and select view code. In the resulting module, at the top are two
dropdowns. Select worksheet from the left dropdown and Change from the right
dropdown (not selection change).

this will put in a declaration for the change event and you can add code to
it to screen for the trigger event and then sort the range of interest.

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

End Sub


--
Regards,
Tom Ogilvy


--
Regards,
Tom Ogilvy



"Lear 6 sigma Guy" wrote:

I can make a pareto in Excel. My problem is that As data is collected
throughout the month, The order changes in my table and I have to run a macro
to re-align the data every day. Is there a way (using a formula or a
template) to automatically sort the data into descending order?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pareto chart [email protected] Charts and Charting in Excel 6 February 6th 08 12:19 PM
Pareto chart [email protected] Excel Discussion (Misc queries) 3 February 5th 08 11:59 PM
Pareto Chart Karen Charts and Charting in Excel 1 October 5th 07 07:02 PM
Pareto Chart Karen Excel Worksheet Functions 4 October 5th 07 06:56 PM
Pareto Chart SCMTAYLOR Charts and Charting in Excel 1 January 2nd 07 06:51 PM


All times are GMT +1. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"