Hello,
I have the followings,
I have one table with 4 variables each, the first table has the variable names as alc, accounting, odn, and tas and the other has these variables as prj_num, loa, task, and tas. I want to do a table lookup where,
alc=prjnum and
accounting = loa and
tas = tas and
odn =task if they are the same I then need to place them in a data set called match, If however,
alc=prjnum and
accounting = loa and
tas = tas and
task is missing I want to place them in a data set called dai.
Please your help is professional accepted and much appreciated.
Best Regards,
Mauri
Can you provide a small example of what your data looks like? Makes it much easier to provide a usable code answer.
I can supply you with partial data that resembles the real data,
Please see both attachments.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.
Ready to level-up your skills? Choose your own adventure.