Hi all, I am new here, and very newbie on SAS, so forgive me by advance for the easy question I will ask. I have a table with several rows and several data such as - a text named "TE1" - three amounts named "AM1", "AM2", "AM3" For each row, there is at least one of the three amounts not null, but for some rows two of them can be not null of even all three of them can be not null. What I want to do is to create a new table with a program duplicating every row where at least two of the three amounts are not null, in order to have only one amount not null Exemple of table TE1 AM1 AM2 AM3 AZZ 12 0 1 ABB 15 0 0 AFD 12 8 5 I want to have in my new table TE1 AM1 AM2 AM3 AZZ 12 0 0 AZZ 0 0 1 ABB 15 0 0 AFD 12 0 0 AFD 0 8 0 AFD 0 0 5 Tell me if it is not enough clear. I have truly no ideas of how to do it. Can you help me? Thanks
... View more