Excel:Need to compare serial numbers in different columns

Any software related topics go in here.
Post Reply
User avatar
StarPhoenix
B.Soc.Sci, M.SocSci [UPCF]
Posts: 17634
Joined: 11 Dec 2003, 02:00
Processor: Core i5 3470
Motherboard: Gigabyte G1 Sniper Z77
Graphics card: nVidia GeForce GTX 1060
Memory: 8Gb DDR3 1600
Location: East London
Contact:

Excel:Need to compare serial numbers in different columns

Post by StarPhoenix »

Hi

I have two spreadsheets. One has a master list of asset numbers while the other has hardware audit information that includes asset numbers.

What would be the clever way of comparing the asset numbers in the first spreadsheet to those in the second
and inserting rows in the second spreadsheet for those that appear in the first but not the second.

I could probably do this all manually, and it would give me something to do today [and probably Monday as well],
but I would like to know how to get Excel to do it automagically in case I am in a hurry one day.

I am at a loss as to how to do something this complicated. :oops:

How would you do it?

Thank you

Maybe I should print out the lists and try to match these things on paper using highlighters. :scratch:


Edit: Problem solved by one of my colleagues, who had it all sorted out in a matter of minutes. :notworthy:

I should outsource my work more regularly. :-p
"Humankind cannot bear very much reality." T.S. Elliot
Anakha56
Forum Administrator
Posts: 22136
Joined: 14 Jun 2004, 02:00
Processor: Ryzen 1700K
Motherboard: Asus X370
Graphics card: Asus 1060 Strix
Memory: 16GB RAM
Location: Where Google says

Re: Excel:Need to compare serial numbers in different column

Post by Anakha56 »

Well dont leave us hanging how did your colleague do it? Someone else might find this interesting... :P
JUSTICE, n A commodity which is a more or less adulterated condition the State sells to the citizen as a reward for his allegiance, taxes and personal service.
User avatar
StarPhoenix
B.Soc.Sci, M.SocSci [UPCF]
Posts: 17634
Joined: 11 Dec 2003, 02:00
Processor: Core i5 3470
Motherboard: Gigabyte G1 Sniper Z77
Graphics card: nVidia GeForce GTX 1060
Memory: 8Gb DDR3 1600
Location: East London
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by StarPhoenix »

She copied and pasted the relevant columns into a new worksheet and used "Ctrl+F" repeatedly
while attempting to explain to me what she was doing. It took some time to sink in...
Then she tidied it up and emailed it to me.

I see myself being nominated for....
Last edited by StarPhoenix on 18 Feb 2011, 20:42, edited 1 time in total.
"Humankind cannot bear very much reality." T.S. Elliot
Anakha56
Forum Administrator
Posts: 22136
Joined: 14 Jun 2004, 02:00
Processor: Ryzen 1700K
Motherboard: Asus X370
Graphics card: Asus 1060 Strix
Memory: 16GB RAM
Location: Where Google says

Re: Excel:Need to compare serial numbers in different column

Post by Anakha56 »

:lol:
JUSTICE, n A commodity which is a more or less adulterated condition the State sells to the citizen as a reward for his allegiance, taxes and personal service.
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by Bladerunner »

Some knowledge of SAS would also have made this very easy. Just my 2c to add on to this post. ;)

EDIT: I could actually double check your results if you send me the excel files.
If I weren't insane: I couldn't be so brilliant! - The Joker
User avatar
StarPhoenix
B.Soc.Sci, M.SocSci [UPCF]
Posts: 17634
Joined: 11 Dec 2003, 02:00
Processor: Core i5 3470
Motherboard: Gigabyte G1 Sniper Z77
Graphics card: nVidia GeForce GTX 1060
Memory: 8Gb DDR3 1600
Location: East London
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by StarPhoenix »

What is SAS?
"Humankind cannot bear very much reality." T.S. Elliot
User avatar
KatrynKat
Insane in the Membrane
Posts: 24490
Joined: 18 Jul 2010, 17:42
Location: In my BDSM dungeon - aka Lockdown

Re: Excel:Need to compare serial numbers in different column

Post by KatrynKat »

Statistical Analysis System

something that we use to analyse our data....
"This eBook is displayed using 100% recycled electrons."
doo_much
Registered User
Posts: 26022
Joined: 13 May 2004, 02:00
Location: Getting there...
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by doo_much »

You could've used the 'MATCH' formula.
Remember it is an array formula and must be entered by pressing CTRL-SHIFT-ENTER.
MOOD - Thirsty

A surprising amount of modern pseudoscience is coming out of the environmental sector. Perhaps it should not be so surprising given that environmentalism is political rather than scientific.
Timothy Casey
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by Bladerunner »

KatrynKat wrote:Statistical Analysis System

something that we use to analyse our data....
On campus you use some enterprise version which is basically point and click, according to the math stats students.

Where I work we code SAS by hand.
If I weren't insane: I couldn't be so brilliant! - The Joker
User avatar
Tribble
Registered User
Posts: 88465
Joined: 08 Feb 2007, 02:00
Processor: Intel Core i7-4770K CPU@3.50GHz
Motherboard: ACPI x64-based PC
Graphics card: GeForce GTX 780 Ti
Memory: 16GB
Location: Not here
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by Tribble »

Vloopup would have been the easiest to get the two sets of data together - an then you use the Exact() function to compare the two sets of vaules. Where you get a false you know they are different.
Image
User avatar
KatrynKat
Insane in the Membrane
Posts: 24490
Joined: 18 Jul 2010, 17:42
Location: In my BDSM dungeon - aka Lockdown

Re: Excel:Need to compare serial numbers in different column

Post by KatrynKat »

@Blade: i never learnt how to use the SAS Enterprise, i learnt by typing out the codes and programs...
"This eBook is displayed using 100% recycled electrons."
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Excel:Need to compare serial numbers in different column

Post by Bladerunner »

KatrynKat wrote:@Blade: i never learnt how to use the SAS Enterprise, i learnt by typing out the codes and programs...
Well that's good; SAS programmers are few and far between.

Just out of interest, can you give me a scenario where you had to use SAS?
If I weren't insane: I couldn't be so brilliant! - The Joker
Post Reply