Rank

Judge

New Member
Joined
Jan 23, 2004
Messages
9
I found the article that some of the previous Rank question and answer posts refer to but I am still having problems creating a rank. I've got a list of territories and the growth percent for each territory. I want to assign a rank in descending order to later assign points for a sales contest we are running. I'm using a table I've previously created with the fields Terr and Growth. I changed the Terr field list alias property to Terr1. I tried copying the expression from the article using my fields as:

Rank: (Select Count (*) from Terr Where [Growth] <_ [Terr1].[Growth]+1;)

I keep getting a syntax error when I try to run the query. Can anyone help?!?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Rank: (Select Count (*) from Terr Where [Growth] <_ [Terr1].[Growth]+1

Is the underscore actually what is in the expresssion, or has it copied over wrong.

It definetely shouldn't be there.
 
Upvote 0
The underscore was there, but I've taken it out and it still give me an error.
Also, that is not supposed to be a smiley face at the end of the expression, it is supposed to say '+1 (semicolon) )

That is how I copied it from the article. Any ideas?
 
Upvote 0

Forum statistics

Threads
1,221,776
Messages
6,161,870
Members
451,727
Latest member
tyedye4

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