Ok I am looking for a little assistance in figuring out a little riddle for Excel.
I have a co-worker who brought me a spreadsheet with 6000 entries in it...in this sort of format
Now the point of the above is this...
The Drug name can be the same but it can have a variety of codes.
I need to figure out a way to create a third row...that gives them a sequence number.
Drug Name Drug Code DrugSeq
Drug1 00001 1
Drug2 11111 1
Drug2 11112 2
Drug3 13131 1
Drug3 12121 2
Drug3 12122 3
Drug4 55555 1
So that I can upload the excel spreadsheet into SQL or Excell and move all the duplicate rows up on the same line something like this
Drug Name DrugCode1 DrugCode2 DrugCode3 DrugCode4
Any help with this would be greatly apprecaited
Thanks in advance,
Leeland
I have a co-worker who brought me a spreadsheet with 6000 entries in it...in this sort of format
Code:
Drug Name Drug Code
Drug1 00001
Drug2 11111
Drug2 11112
Drug3 13131
Drug3 12121
Drug3 12122
Drug4 55555
Now the point of the above is this...
The Drug name can be the same but it can have a variety of codes.
I need to figure out a way to create a third row...that gives them a sequence number.
Drug Name Drug Code DrugSeq
Drug1 00001 1
Drug2 11111 1
Drug2 11112 2
Drug3 13131 1
Drug3 12121 2
Drug3 12122 3
Drug4 55555 1
So that I can upload the excel spreadsheet into SQL or Excell and move all the duplicate rows up on the same line something like this
Drug Name DrugCode1 DrugCode2 DrugCode3 DrugCode4
Any help with this would be greatly apprecaited
Thanks in advance,
Leeland
