Perth-WRX.com  

Go Back   Perth-WRX.com > Off Topic Discussions > Non-WRX Discussion
Register Diddy Kart ArticlesAll AlbumsBlogs FAQ Members List Calendar Search Today's Posts Mark Forums Read


Welcome to Perth-WRX, click here to register!

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 19-07-2007, 05:41 PM
DAN682's Avatar
Sign me up!
Nazi Sled Driver
 
Join Date: Jul 2005
Location: Mandurah
Posts: 2,364
Thanks: 25
Thanked 13 Times in 9 Posts
DAN682 at standard level
Send a message via ICQ to DAN682 Send a message via MSN to DAN682 Send a message via Yahoo to DAN682
Default Need help from an Excel Guru

I have searched on google but I couldn't really find anything to answer my question.


I have 3000 Computer asset numbers and I want to find duplicates in 2 separate columns.

Does anybody know a formula that will:
a) highlight them
b) only show duplicates and hide the others?

I assume a vlookup will do this but I have no idea, I only fix computers, not actually use the applications I install

Thanks for any help with this matter.

Dan
Reply With Quote
  #2  
Old 19-07-2007, 05:43 PM
RichX's Avatar
Perth WRX Old Skool Cool Dude
Member
 
Join Date: Oct 2006
Location: Pub
Posts: 4,137
Thanks: 31
Thanked 53 Times in 45 Posts
RichX knows their stuff
Default

http://www.mrexcel.com/tip063.shtml
http://www.google.com/search?q=find+...x=&startPage=1

Should get you started ..

Surely it couldn't be that easy ..
__________________
[SIGPIC][/SIGPIC]
Should have bought an STI
Reply With Quote
  #3  
Old 19-07-2007, 05:50 PM
DAN682's Avatar
Sign me up!
Nazi Sled Driver
 
Join Date: Jul 2005
Location: Mandurah
Posts: 2,364
Thanks: 25
Thanked 13 Times in 9 Posts
DAN682 at standard level
Send a message via ICQ to DAN682 Send a message via MSN to DAN682 Send a message via Yahoo to DAN682
Default

Quote:
Originally Posted by RichX
Thanks for that, however if you look at most of those links they want $29.95 to get some fucked up plugin to do it for you.

I will check out mrexcel though.

Thanks for the speedy response.

EDIT: Mr Excel FTW

Thanks
Exactly what I needed.
Reply With Quote
  #4  
Old 19-07-2007, 05:51 PM
bumpstop's Avatar
Sir AntiLag
Member
 
Join Date: Oct 2005
Location: Perth, Western Australia
Posts: 479
Thanks: 5
Thanked 15 Times in 4 Posts
bumpstop at standard level
Default

Here i was thinking someone was looking for a 'hyundai' excel guru
__________________
www.facebook.com/technikcaraudio
www.cardomain.com/id/boostndb

Last edited by bumpstop; 19-07-2007 at 05:54 PM.
Reply With Quote
  #5  
Old 19-07-2007, 05:57 PM
wannabox's Avatar
STI Master
Member
 
Join Date: Mar 2007
Location: perth
Posts: 604
Thanks: 0
Thanked 0 Times in 0 Posts
wannabox at standard level
Default

Could be done easily using vba. Loop through on column and add to hashtable. Then loop over the other and check if exists in hash you got duplicate. This is the most efficient way but dunno if you have hash tables in VBA.

Could always loop through a column and for each row loop through col b and find a match. But this in your case would be 3000*3000 iterations so 9003000 iterations the first way would be 3000 + 3000 = 6000.

Otherwish I could whip up a little program that does it for you. Take me 10 mins.

Cheers
Reply With Quote
  #6  
Old 19-07-2007, 05:58 PM
wannabox's Avatar
STI Master
Member
 
Join Date: Mar 2007
Location: perth
Posts: 604
Thanks: 0
Thanked 0 Times in 0 Posts
wannabox at standard level
Default

Just realised my post makes no sense. Hah long day at work does this to you.
Reply With Quote
  #7  
Old 19-07-2007, 08:54 PM
mr_psi's Avatar
Flat Four Father
Member
 
Join Date: Aug 2005
Location: Hillarys
Posts: 2,126
Thanks: 0
Thanked 0 Times in 0 Posts
mr_psi at standard level
Send a message via MSN to mr_psi
Default

if you send me the .xls file i can sort it for you.. basically to hard to explain...

you will need to run a vlookup

define your name for one column eg. "LIST"

=VLOOKUP(cell you wanna compare,LIST,2,FALSE)

if in the cell it pops up with #N/A then it is not a duplicate and if it pops with the data then it is a duplicate... you can then sort by name

i just sorta explained it and it prob makes no sense... i can sort it for ya if ya want champ
Reply With Quote
Reply

Tags
excel, guru

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Welcome to Perth-WRX, click here to register!

All times are GMT +8. The time now is 10:34 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO