BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
georgel
Quartz | Level 8

Hi all, 

 

I would like to generate a variable to rank analysts (ANALYS) by ISIN (the firm code) based on the STDFE.

For example for the first firm i.e. GB00BJVQC708 ANALYS with code 114434 will receive 1. For the second and next analyst since they have the same STDFE then I want to assign the mid-point of the ranks they take up. This means that the ranks need not be integers. Similarly for the second firm etc. Please see attached a subsample of the two firms

 

Many thanks in advance, 

Best regards

George 

1 ACCEPTED SOLUTION
2 REPLIES 2
georgel
Quartz | Level 8

Many thanks Kurt for the quick solution 

Just I added a line : By ISIN

 

Best regards

george

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 500 views
  • 3 likes
  • 2 in conversation