Data Comparison

ExcelBeginner34

New Member
Joined
Mar 2, 2019
Messages
41
Office Version
  1. 2016
Platform
  1. Windows
Hi, hoping for some help. I have a spreadsheet which holds data for a number of buildings that my company owns. Each building has a unique reference number. I have a list of the areas (sq m) of each building and i want to compare this with another list which has updated areas. I then want to copy the updated area from the second list and add this to a new column to the right of the old area so i can compare the differences. The problem is that the lists are not in the same order. I have sorted them but one list has some items that the other doesn't so it isn't quite in sync. The format of the spreadsheet is as follows:

A = the unique building number from the first list
J= the area from 2014
K = the blank column which i want to paste the 2020 area into
AG = the unique building number from the second list
AS = the area from 2020

So what I want to be able to do is scan down column A and AG to find the numbers that match and if they do, copy and paste the area in AS on the same row and paste that into column K.

Hope that makes sense.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
First, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version.

See if this does what you want

20 04 08.xlsm
AJKAGAS
1Building No.2014 Area2020 AreaBuilding No.2020 Area
2BN117401750BN51180
3BN21003Not foundBN31376
4BN313761376BN252000
5BN410801050BN41050
6BN511761180BN11750
7` BN61500
8 
Lookup Building No
Cell Formulas
RangeFormula
K2:K8K2=IFERROR(IF(A2="","",INDEX(AS$2:AS$1000,MATCH(A2,AG$2:AG$1000,0))),"Not found")
 
Last edited:
Upvote 0
Thanks, Peter. I have tried that but had to adjust slightly because my data starts on row 6. So i have just switched the A2 for A6 and AS2 for AS6 etc. All the rows are just coming up as not found. Should there be a space between each of the " after A2 equals?

Best regards
 
Upvote 0
Should there be a space between each of the " after A2 equals?
No

20 04 08.xlsm
AJKAGAS
5Building No.2014 Area2020 AreaBuilding No.2020 Area
6BN117401750BN51180
7BN21003Not foundBN31376
8BN313761376BN252000
9BN410801050BN41050
10BN511761180BN11750
11` BN61500
12 
Lookup Building No
Cell Formulas
RangeFormula
K6:K12K6=IFERROR(IF(A6="","",INDEX(AS$6:AS$1004,MATCH(A6,AG$6:AG$1004,0))),"Not found")



If it is still not working then perhaps you should post some sample data with XL2BB as I have, then we can see what your data is really like.

This is still true:
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version.
 
Upvote 0
Sorry i can't seem to find the add in for XL2BB - below is a paste from Excel. of my current set up. Will update account now thanks.




AEJKAGAS
Building Asset CodeYear Built2014 Gross Internal Area (m2)2020 Gross Internal Area (m2) Building Asset Code2020 Gross Internal Area (m2)
1002005
1,168​
Not Found1001,237.80
1011887
279​
Not Found101291.98
1021902
2,608​
Not Found10214,810.35
1031902
2,896​
Not Found1033,168.48
1041870
25,698​
Not Found10429,128.15
1051886
1,567​
Not Found1051,660.90
1061973
83​
Not Found10688.31
1071870
536​
Not Found107563.99
1081870
551​
Not Found108583.57
1091870
574​
Not Found109608.46
1101870
540​
Not Found110572.23
1111870
605​
Not Found111641.14
1121870
577​
Not Found112611.64
1131870
542​
Not Found113574.07
1141870
547​
Not Found114579.37
 
Upvote 0
Sorry i can't seem to find the add in for XL2BB
Click the link in my signature
1586397858541.png


then you should see all the installation and use instructions, including a link to the actual download.

1586397816660.png



In your sheet if you use some blank cells, what do these formulas return?

=ISNUMBER(A9)
=ISNUMBER(AG9)
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,050
Members
449,206
Latest member
Healthydogs

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