JasonPrice
New Member
- Joined
- Sep 14, 2018
- Messages
- 4
I have a spread sheet that gets populated with data from a number of source text files. That text is then stripped down to the relevant data and collated into columns on another sheet (sheet 2).
I now need to copy all columns that meet a certain criteria to a third sheet.
For example, if cell A1 in sheet 2 <> "", then copy A2:A40 in sheet 2 to the next available column in sheet 3.
With a sample set of data I have 10 columns of data in sheet 2, but only 8 of them meet the criteria. I want those 8 columns copied across to sheet 3 all next to each other (no empty columns).
I've searched through various forums but I can't work out what the macro should be to make it work.
Any suggestions?
I now need to copy all columns that meet a certain criteria to a third sheet.
For example, if cell A1 in sheet 2 <> "", then copy A2:A40 in sheet 2 to the next available column in sheet 3.
With a sample set of data I have 10 columns of data in sheet 2, but only 8 of them meet the criteria. I want those 8 columns copied across to sheet 3 all next to each other (no empty columns).
I've searched through various forums but I can't work out what the macro should be to make it work.
Any suggestions?