LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 18 May 2009 10:39:05 -0400
Reply-To:   Suren gc <gc_suren@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Suren gc <gc_suren@YAHOO.COM>
Subject:   Data rearrange

I want to add an extra row to those records that meet certain criteria and multiply the numeric record of the added row by a certain number. Original table resembles something like this.

A B C AR 2 3 AR 4 8 FL 6 8

I would like to create a new table where a row is added for the records containing AR and for the added record; change the name AR with RA and multiply B by 2 The new table would be: A B C AR 2 3 RA 4 3 AR 4 8 RA 8 8 FL 6 8


Back to: Top of message | Previous page | Main SAS-L page