@Ripalsshah0 wrote:
Here below is my example data.
product price
boots $20
slipper $30
trainners $40
boots $25
boots $65
from above dataset I want to do sum of Boots Price.
What function should i use to add all value in column.
thanks,
Ripal
proc means data=have(where=(product='boots')) sum;
var price;
run;
or even better yet, you can get the sums of all products
proc means data=have sum;
class product;
var price;
run;
--
Paige Miller