ExcelNovice
Well-known Member
- Joined
- May 12, 2002
- Messages
- 583
I'm working with a spreadsheet with data in rows from A to Y and all the way down to column 1872. This is a fairly large spreadsheet. Each row contains important data in each cell, and that depending on certain criteria the data needs to be copied and pasted to another spreadsheet.
Example, if cell Y5 has a value of 1, then cells D5, E5 and the sum of cells P5, R5 & T5 needs to be copied to spreadsheet "Export" in cells B3, C3 & D3 respectively. Can this be done using a macro, and also is it possible for the macro to carry out this function. Any help will be appreciated. Also, can the macro this data for each occurrence of the value 1 in cell column Y, and can the copy and paste function occur in cells B3, C3 & D3, and then B4, C4 & D4 and so on and so on? Thanks for your help.
Example, if cell Y5 has a value of 1, then cells D5, E5 and the sum of cells P5, R5 & T5 needs to be copied to spreadsheet "Export" in cells B3, C3 & D3 respectively. Can this be done using a macro, and also is it possible for the macro to carry out this function. Any help will be appreciated. Also, can the macro this data for each occurrence of the value 1 in cell column Y, and can the copy and paste function occur in cells B3, C3 & D3, and then B4, C4 & D4 and so on and so on? Thanks for your help.