Forum Discussion

jgrim's avatar
jgrim
Copper Contributor
Aug 06, 2025
Solved

Updating excel database with values from another sheet

I have an original database (first image) which is filled with values. I have a second database which has the same schema but only contains the changes that need to be made to the origina...
  • jgrim's avatar
    Aug 07, 2025

    Hi all, I did end up finding a solution to the above problem using power query and the merge queries based on the ID. I then created new columns from the merge and used code along these lines:  if [Updates.Age] = null then [Age] else [Updates.Age] where [Age] were the original dataset values and [Updates.Age] were the updating values. That way if there was no value in the updating dataset it would default to the original. I then deleted the original and updating columns and renamed the new columns to the original attribute names. So far it seems to be working well. Thank you all for your comments though, I really appreciate it!

Resources