Hi,
I am having a lot of trouble using SAS to transpose the data from an excel file.
I have attached the file with the input worksheet and what I wanted to get in the output.
If someone can help me with this using SAS or Excel, that would be great. It is taking me a long time to do it manually...
Hi everyone, was hoping someone can help me with this in SAS:
I have data in SAS like this:
Obs Date Item1 Item2 Item3
1 _00853 1 3 5
2 _00901 124 24 2324
3 _00902 24 12 232
...
...
...
x _00952...
Hi, if someone can help me with this it would be greatly appreciated. I have a data that looks like:
jan-05 feb05 ... mar09 (by month along the columns)
a
b
c
d
...
The problem is say variable a first get data at feb05 so before that it would have all zeros, all the different variables...
Hi,
I am still having trouble with this code, beacuase this part:
if last.product then
do;
if sum(of type1-type3) = 3 then output dset3;
else if sum(of type1-type3) = 2 then output dset2;
else if sum(of type1-type3) = 1 then output dset1;
end;
run;
Is only adding the...
Thanks for the help!
Now I have data that is like:
product type count
a 1 3
a 2 3
a 3 3
b 1 2
b 2 2
c 2 2
c 3 2
d 3 1
What I would like is to group these so I know what...
Hi,
I am having trouble writing a code for this, say I have the following data:
product type
a 1
a 2
a 3
b 1
c 1
c 2
d 3
e 1
e 2
e 3
I want to make 3 data sets, 1st one only has products which has all 3 type (1, 2, 3) so that dataset will...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.