I’m attempting to link a Master sheet with a google form for clock in/out hours. How would I do this?

I’m attempting to add hours to each person by having them submit a google form, which will display their ID and time logged into a linked sheet(This is done). I then need the hours to be filtered by ID and then transferred over to the master sheet, so that their hours will come up next to their name/ID, but I have no idea how to do this. Any help would be greatly appreciated, thanks.