Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2012, 11:48 AM
aayushagra aayushagra is offline Comprare two Windows XP Comprare two Office 2007
Novice
Comprare two
 
Join Date: Mar 2012
Posts: 1
aayushagra is on a distinguished road
Default Comprare two

Okay so i have two rows of text(both about 400 cells)

And i need to know which of them dont come together(They are alphanumeric)



so for example

A B
1212x1d21dc 321fc12c23c
12345zxcvb asfsafd4rtt323
321fc12c23c 12345zxcvb
asfsafd4rtt323 1890cu990u

Now here 1212x1d21dc, 321fc12c23c, 1890cu990u, 321fc12c23c dont appear twice, the rest do.
I want to know which of them appear in a odd amount, and which dont. Any way to sort them?
Reply With Quote
  #2  
Old 03-19-2012, 08:59 PM
macropod's Avatar
macropod macropod is offline Comprare two Windows 7 64bit Comprare two Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi aayushagra,

Assuming your data are in columns A & B, you can use the following formula in C1 and copy down as far as needed:
=COUNTIF(A:A,B1)
This will tell you which values in column B also appear in column A, and how often.

Similarly, if you use the following formula in D1 and copy down as far as needed:
=COUNTIF(B:B,A1)
it will tell you which values in column A also appear in column B, and how often.

If you then convert the formulae to values, you can then sort the data by column C or D.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 03:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft