The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now
I have 2 excel sheets in the same workbook; a live edited sheet and a master sheet. I am looking to update comment history by comparing the live and master file and if they do not match, concatinate together and replace the master comment. Right now I manually have to concatinate in excel then copy and paste to replace the comments for 24,000 rows.
Note: I did try a macro however this is stored on and edited on a sharepoint which does not allow macros unless the file is downloaded
Live file
Invoice # | Comment Date | Comment | Name | Reason |
100525 | 3/30/2023 | Email update from Jim | Sarah | Billing date moved |
100526 | 2/24/2023 | Increase in budget needed | Jim | Waiting on increase |
Master File
Invoice # | Comment Date | Comment | Name | Reason |
100525 | 2/25/2023 | Increase in budget needed | Sarah | Waiting on increase |
100526 | 2/24/2023 | Increase in budget needed | Jim | Waiting on increase |
Master File - result
Invoice # | Comment Date | Comment | Name | Reason |
100525 | 3/30/2023 | [Name] on [Comment Date]; [live comment]; [Live reason] [master comment] | Sarah | Billing date moved |
100526 | 2/24/2023 | Increase in budget needed | Jim | Waiting on increase |