Ranking

charlee63

Board Regular
Joined
Jan 7, 2010
Messages
146
How do I do a ranking in Access?

May Query Produces
52021544703658$1.08
5202154470361$10.28
5202154470361$10.64
<caption>qryWest HI Dairy</caption>

<thead>


[TH="bgcolor: #c0c0c0"] Vendor [/TH]

[TH="bgcolor: #c0c0c0"] MaxOfItem [/TH]

[TH="bgcolor: #c0c0c0"] Expr1 [/TH]

[TH="bgcolor: #c0c0c0"] Expr2 [/TH]




</thead>
<tbody>


</tbody>
<tfoot></tfoot>
I need to have a Rank in before them as 1,2,3.

[TABLE="width: 872"]
<colgroup><col style="width: 48pt;" span="2" width="64"> <col style="width: 91pt; mso-width-source: userset; mso-width-alt: 4425;" width="121"> <col style="width: 48pt;" width="64"> <col style="width: 434pt; mso-width-source: userset; mso-width-alt: 21138;" width="578"> <col style="width: 203pt; mso-width-source: userset; mso-width-alt: 9910;" width="271"> <tbody>[TR]
[TD="class: xl65, width: 64, bgcolor: transparent"]Field:[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]Rank:??[/TD]
[TD="class: xl65, width: 121, bgcolor: transparent"]Vendor[/TD]
[TD="class: xl65, width: 64, bgcolor: transparent"]Item[/TD]
[TD="class: xl65, width: 578, bgcolor: transparent"]Expr1: [QryWest HI Dairy Sum]!SumOfCases+[QryWest HI Dairy Sum]![SumOfForward Buy][/TD]
[TD="class: xl65, width: 271, bgcolor: transparent"]Expr2: CCur([West Hawaii Dairy]!Amount)[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Table:[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"]West Hawaii Dairy[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Total:[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"]Group By[/TD]
[TD="class: xl65, bgcolor: transparent"]Max[/TD]
[TD="class: xl65, bgcolor: transparent"]Group By[/TD]
[TD="class: xl65, bgcolor: transparent"]Group By[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]Sort:[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"]Ascending[/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"] [/TD]
[TD="class: xl65, bgcolor: transparent"]Ascending[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top