BookmarkSubscribeRSS Feed
cm3
Fluorite | Level 6 cm3
Fluorite | Level 6
TID. NID. Addr1. Addr2. Srvc_addr
45C 123. 1 fox ln. Suit 5. 1 fox ln Suit 5
51A. 234. 21 dey rd. Bruns. 21 dey rd Bruns
51A. 234. 21 Dey rd. Bruns. 66 Mac rd Cran
51A. 234. 21 dey rd. Bruns. St 2 app dr NC
58H. 378. 9 Horse ln. Garth. 88. Yard Bost
58H. 378. 9 Horse ln. Garth. 2 abc rd connect
58H. 379. 9 Horse ln. Garth. 9 Horse ln Garth

Groupby TID and NID if not addr1+addr2 match with any one srvc_addr, then output that TID,NID

Appreciate your support
1 REPLY 1
HB
Barite | Level 11 HB
Barite | Level 11

In order to get the best help with your question, I would post your data as a working data step and use full English sentences to explain the problem and desired output. 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 539 views
  • 0 likes
  • 2 in conversation