Hi Excel Gurus,
Good Morning!
I have an excel file(Sheet-Junk Data) where there are many columns which read as:
A11 =
Sl.# Date File Name Comments Physician 1 Physician 1's Fax # Physician 2 Physician 2's Fax # Physician 3 Physician 3's Fax # Physician 4 Physician 4's Fax # Physician 5 Physician 5's Fax # Physician 6 Physician 6's Fax #.
Kindly note that not all rows have all these info. Some columns have only Phyiscian 1 and his fax number where as some have 2 physician's information and so on.
My Requirement:
I want to keep only few columns like:
Sl.#,Date,FileName,Comments,Physician,Fax#
So, if any row has more than 1 phyisician then those data should be listed immediately below phyisician1 and first four columns (A:D) should be repeated for each row.
I am uploading file herewith for your reference. Kindly look into sheet 'Arranged Data' for output. May I request you to help me with VBA solution?
With Regards
Rudra
Good Morning!
I have an excel file(Sheet-Junk Data) where there are many columns which read as:
A11 =
Sl.# Date File Name Comments Physician 1 Physician 1's Fax # Physician 2 Physician 2's Fax # Physician 3 Physician 3's Fax # Physician 4 Physician 4's Fax # Physician 5 Physician 5's Fax # Physician 6 Physician 6's Fax #.
Kindly note that not all rows have all these info. Some columns have only Phyiscian 1 and his fax number where as some have 2 physician's information and so on.
My Requirement:
I want to keep only few columns like:
Sl.#,Date,FileName,Comments,Physician,Fax#
So, if any row has more than 1 phyisician then those data should be listed immediately below phyisician1 and first four columns (A:D) should be repeated for each row.
I am uploading file herewith for your reference. Kindly look into sheet 'Arranged Data' for output. May I request you to help me with VBA solution?
With Regards
Rudra