Hello
I am not sure how to ask this question.
Using the example in the attached file. I want to go from the example in BICU SAMPLE to BICU SAMPLE-1
I am working with a large dataset from a pathology database which has been exported to CSV then imported into Excel. There is no other way to format this data and I have to work with what I have.
It is a microbiology database. Some patients will grow one organism from a particular site. I have called this Type in the example. But some patients with grow more than one organism, for example there are three Types in some of the example patients in the attached files.
The database starts by putting each patient on a new row, then puts each type on a new row if there is more than one type per patient but only provides the demographic data once. So if a patient grows three organisms they will have a three row entry in the database, one for each organism, but only the first row will contain the demographic data.
I need to copy the demographic data to each of the remaining rows but keep it identical to the original entry for that patient. So, for example, when I have tried to do this by dragging the bottom right corner it adds one to the unique number (which cannot change) and increases the date (again which cannot change).
Usefully, every time there is a patient with more than one "Type" there is a blank row before the next patient. Most patients have grown only one "type" but some have grown two, three, four, five and even six organisms.
I need an automated way to complete the missing demographic data. There is over 6000 results so it is impractical to do it by hand.
Any suggestions would be very gratefully received.
With my sincere thanks
Ronan
Bookmarks