There are a number of possibilities here. Step 1 would definitely be getting your file with titles and saleries imported as a SAS data set. From there, I would probably create a format (under Tasks > Data > Create Format) which contains the Salary Ranges from your second Excel file. In the options pane, make sure you're saving the format to a permanent library, like SASUSER. In the Define formats pane, create labels such as $0 to $25K, $25K to $40K, etc. and for each label select a salary range which matches information for that label.
With the format in hand, you can now run a One-Way Frequencies task with Salary as the analysis variable and Title as the Group by variable. Format the Salary column with the format you just created, and it will now show you, for each title, how many folks fall into the $40K to $50K range and so on. If you choose to create a SAS data set from One-Way Freqencies (Results pane), then you can use Send to or Export to get an Excel workbook with those values.
Unfortunately, there's no easy point and click way to turn the data set with salary ranges into a format. There are coding ways to do this, so if the salary ranges were changing all the time, know that there are more advanced methods to avoid redoing things manually.
If you didn't want to use a custom format, one alternative approach would be to join the Salary/Title information with the Range information and use summarization in the Query builder to generate the counts. You'd really have to know what you're doing however since it would involve joins that are not on equality. EG can handle this... but it's unusual and can be tricky to figure out.