S
subs
customer dzip New Customer
proctoandg 10024 procto
procto 10024 procto
procto 10024 procto
bambo 13456 bambospecies
bambospecies 13456 bambospecies
barbs 200011 barbs
bangal 10022 bangal
I have two columsn of data which are populated. customer and dzip.
The column New customer has to be populated such that new
customer has to be equal to column customer when
ever they have equal dzips. for example the first two entries
in the new colum are procto since they have equal dzips. Now this
could be populated by either proctoandg or procto- but procto is
repeated more no
of
times in my original data than proctoandg . So new customer field will
have
procto in the
first two fields.
So bottomline
new customer colmn is populated
by using two crieteria
1)Dzip field values must be equl
2) when ever dzip field are same, then populate the last
colum
with the value of the column customer which is repeated max no of
times. \\
Thanks for any help . help is appreciated.
proctoandg 10024 procto
procto 10024 procto
procto 10024 procto
bambo 13456 bambospecies
bambospecies 13456 bambospecies
barbs 200011 barbs
bangal 10022 bangal
I have two columsn of data which are populated. customer and dzip.
The column New customer has to be populated such that new
customer has to be equal to column customer when
ever they have equal dzips. for example the first two entries
in the new colum are procto since they have equal dzips. Now this
could be populated by either proctoandg or procto- but procto is
repeated more no
of
times in my original data than proctoandg . So new customer field will
have
procto in the
first two fields.
So bottomline
new customer colmn is populated
by using two crieteria
1)Dzip field values must be equl
2) when ever dzip field are same, then populate the last
colum
with the value of the column customer which is repeated max no of
times. \\
Thanks for any help . help is appreciated.