Merging two spreadsheets to override data. By common identifier or ID

kstenson

New Member
Joined
Jan 6, 2020
Messages
8
Office Version
  1. 2016
Platform
  1. MacOS
Hello, I have a spreadsheet with reporting data, in which each row has a unique case number/identifier. The report is missing an important field of who owns the account. Because the report changes—with new rows added and some removed each week— I can't just paste over the top.

When the new report is run, I want to update/override the data from the previous report, with the exception of my added column with the account owner's name. I'm hoping to find matching rows based on the unique case number and update the row if it still exists and if it doesn't, remove the row, as well as add any new rows from the most current report.

Apologies, I'm not great with Excel and don't know how to go about this and am looking for direction, in layman's terms.

I tried attaching a screenshot but it kept erroring out. Here it is: screenshot
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I see you've excel 2016 so why there is xls extension (excel 2003) ?
and Power Query will work on Mac or still not?
 
Upvote 0
I see you've excel 2016 so why there is xls extension (excel 2003) ?
and Power Query will work on Mac or still not?
Not sure why they were .xls. Sorry, I uploaded .xlsx versions to the same folder.

I don't believe Power Query is available yet.
 
Upvote 0
stenson,

have you solved this issue yet? I haven't been able to respond to anyone here because of the funeral and a few other things. Now I'm at a monastery but I am able to get back here. Do you still need assistance? I don't know if I can help, but I can try. Let me know if you are still looking to get something accomplished.
 
Upvote 0
stenson,

have you solved this issue yet? I haven't been able to respond to anyone here because of the funeral and a few other things. Now I'm at a monastery but I am able to get back here. Do you still need assistance? I don't know if I can help, but I can try. Let me know if you are still looking to get something accomplished.
Hi, Adam. Yes, this is still an open question. One gal suggested Power Query but I don't believe that is available on Mac yet.
 
Upvote 0
I do think a VLOOKUP formula will suffice, if I understand your problem correctly.

In Sheet1, type the following formula in cell H2:
=VLOOKUP($B2,'Sheet2'!$B:$C,2,false)

Then copy said formula down to every row with data.
 
Upvote 0
I do think a VLOOKUP formula will suffice, if I understand your problem correctly.

In Sheet1, type the following formula in cell H2:
=VLOOKUP($B2,'Sheet2'!$B:$C,2,false)

Then copy said formula down to every row with data.
When adding that formula to the doc "Original Report-New.xlxs" to cell H2 and drag it down to every row with data, they all display "#N/A". It's referencing sheet 2, which the file does not have. To test, I adding a sheet 2 and copied the data from "Updated Report-New.xlxs", but the cells still display #N/A on sheet 1. These links are to live spreadsheets, so you can see how it looks with the formula added or if you want to try anything.

Apologies if I misunderstood—I'm not very good with Excel yet.
 
Upvote 0
I failed to recognise you were working with two different sheets. I did not open your attachments. :)

Se below in red the update:
=VLOOKUP($B2,'[Updated Report-New.xlsx]Sheet 2'!$B:$C,2,FALSE)


EDITED TO ADD, my version of Excel uses ; instead of ,
I replaced the ;'s
 
Upvote 0

Forum statistics

Threads
1,215,558
Messages
6,125,504
Members
449,235
Latest member
Terra0013

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top