Mr_Car_Lover
New Member
- Joined
- Jan 26, 2022
- Messages
- 1
- Office Version
- 365
- 2021
- Platform
- Windows
Hi all - I have been trying for a week now through chopping up bits of code to try perform a report function to help with some data analysis but it is hopeless and keeps failing.
I have 3 sheets within my work book:
What i would like is a macro which either occurs when data is dropped into or if easier a button is pressed on sheet 'Data Input'.
data will be manually pasted into 'Data Input' into cell A2 --> the macro would be pressed and ideally following happens:
If someone could help i will be in debt!
Sincerely a useless Excel user
I have 3 sheets within my work book:
- Master Data
- Data Input
- Duplicates
What i would like is a macro which either occurs when data is dropped into or if easier a button is pressed on sheet 'Data Input'.
data will be manually pasted into 'Data Input' into cell A2 --> the macro would be pressed and ideally following happens:
- The information in 'data input' is compared to existing data in the sheet 'master data' --> if a value in column B (a container number) of 'Data input' matches to a value in column B of 'Master Data' it should be cut and paste to the sheet 'Duplicates' on the next blank row.
- All remaining data in the 'Data input' sheet should then be pasted onto the next free row in 'Master Data'.
- The Data Input sheet should then be cleared from A2 onwards.
If someone could help i will be in debt!
Sincerely a useless Excel user