ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Create sorted list based on cell values (https://www.excelbanter.com/excel-discussion-misc-queries/244750-create-sorted-list-based-cell-values.html)

Jon

Create sorted list based on cell values
 
I have a data entry worksheet that captures a series of data, that then
calculates a value (say between 1:1000). I want (ultimately) to have a
second worksheet that summarizes those records sorted/valued 1:n based on the
values calculated in the former sheet. 1 becomes the highest valued record,
2 becomes the next highest valued, etc. An added complexity, the user may
add another record, which of course changes the list.

Jim Thomlinson

Create sorted list based on cell values
 
Will there be ties and if so how should they be handled...
--
HTH...

Jim Thomlinson


"Jon" wrote:

I have a data entry worksheet that captures a series of data, that then
calculates a value (say between 1:1000). I want (ultimately) to have a
second worksheet that summarizes those records sorted/valued 1:n based on the
values calculated in the former sheet. 1 becomes the highest valued record,
2 becomes the next highest valued, etc. An added complexity, the user may
add another record, which of course changes the list.


Bernd P

Create sorted list based on cell values
 
Hello,

I suggest to use my UDF's Sfreq and GSort:
http://sulprobil.com/html/sfreq.html

If you need further help, let me know, please.

Regards,
Bernd

Jon

Create sorted list based on cell values
 
There is no link from the resultant worksheet to the data capture worksheet
(i.e. no data in the resultant will affect the data capture), but of course
the data capture worksheet drives the sort order of the resultant. We can
assume that the resultant is merely a summary (NO entry) of the data capture.
Records can be edited, new records entered , or records deleted in the Data
Capture, any of which can/will affect the Summary order based on a single
column of values.

Thanks for your help!

"Jim Thomlinson" wrote:

Will there be ties and if so how should they be handled...
--
HTH...

Jim Thomlinson


"Jon" wrote:

I have a data entry worksheet that captures a series of data, that then
calculates a value (say between 1:1000). I want (ultimately) to have a
second worksheet that summarizes those records sorted/valued 1:n based on the
values calculated in the former sheet. 1 becomes the highest valued record,
2 becomes the next highest valued, etc. An added complexity, the user may
add another record, which of course changes the list.


Bernd P

Create sorted list based on cell values
 
Hello Jim,

Can you give some sample input data and how your output should look
like?

Regards,
Bernd

Jon

Create sorted list based on cell values
 
Seems like both you Bernd and Jim would benefit from an example. Here it is.
As you can see, the problem is getting the proper order in the results sheet
based on these total values (calculated based on the three attributes):

Thanks Again!

Data Worksheet
Attribute1 Attribute2 Attribute3 Total
Item #1 65 Blue 33% 62
Item #2 12 Yellow 62% 91
Item #3 101 Green 15% 174
Item #4 8 Blue 82% 79

Results Worksheet
1 Item #3
2 Item #2
3 Item #4
4 Item #1


"Bernd P" wrote:

Hello Jim,

Can you give some sample input data and how your output should look
like?

Regards,
Bernd


Jon

Create sorted list based on cell values
 
I looked the Sulprobil over and am not sure how this could help me. Good
work though!

"Bernd P" wrote:

Hello,

I suggest to use my UDF's Sfreq and GSort:
http://sulprobil.com/html/sfreq.html

If you need further help, let me know, please.

Regards,
Bernd


Bernd P

Create sorted list based on cell values
 
Hello Jon,

Select 4 vertical cells in your results sheets and array-enter:
=GSort(Data!A1:A4,Data!E1:E4,"D","N","2")

GSort is a UDF:
http://sulprobil.com/html/sort_vba.html

Regards,
Bernd


All times are GMT +1. The time now is 01:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com