ARJUNDSOUZA
Member
Hi Team,
I am looking for vba code to complete the following task (data sample attached)
Sheet1 - Data File - is my Daily Extract File.
Sheet2 - Task 1:
Column A has values while there are blank rows in between, I want to know a vba code which can copy the values in Col A and paste in the blank cells
Copy A1 value "BEST AVAILABLE" and paste in A2,A3,A4, (these can be 20-30 rows, while sometimes 10 also)
then A5 has "CONSORTIA", copy and paste this to cells A6, A7 (same as above)
then A8 has "CORPORATE MARKETING PROGRAMS" copy as paste this to cells A9:A23 and so on....
Have trimmed my data file as this sheet has average of 700+ rows to be formatted.
Towards the end need the value of Col A to be copied only until there is any value in corresponding Col B
Sheet3 - Task2
Look in Column B - if any row has "Numeric Value" then delete the entire row.
Finally I want the sheet to be completed as shown in Sheet3 "Task2"
ps: All above tasks to be completed in Sheet1 itself, I had created the additional sheets only to explain the whole process.
Thank you in advance for your help.
I am looking for vba code to complete the following task (data sample attached)
Sheet1 - Data File - is my Daily Extract File.
Sheet2 - Task 1:
Column A has values while there are blank rows in between, I want to know a vba code which can copy the values in Col A and paste in the blank cells
Copy A1 value "BEST AVAILABLE" and paste in A2,A3,A4, (these can be 20-30 rows, while sometimes 10 also)
then A5 has "CONSORTIA", copy and paste this to cells A6, A7 (same as above)
then A8 has "CORPORATE MARKETING PROGRAMS" copy as paste this to cells A9:A23 and so on....
Have trimmed my data file as this sheet has average of 700+ rows to be formatted.
Towards the end need the value of Col A to be copied only until there is any value in corresponding Col B
Sheet3 - Task2
Look in Column B - if any row has "Numeric Value" then delete the entire row.
Finally I want the sheet to be completed as shown in Sheet3 "Task2"
ps: All above tasks to be completed in Sheet1 itself, I had created the additional sheets only to explain the whole process.
Thank you in advance for your help.