Computer Learning Zone CLZ Access Excel Word Windows

Intelligence is the ability to adapt to change.

-Stephen Hawking
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Counting two sets of data for Occurences.
Peter Hall 

16 years ago
This is a shorted version of a spreadsheet. I would like to compare to sets of data to find the occurrences of certain post codes. Here is the data
Column  Columbia
CV1 2AA CV1 2AA
CV1 2AB CV1 2AB
CV1 2AD CV1 2AD
CV1 2AE CV1 2AE
CV1 2AF CV1 2AF
CV1 2AG CV1 2AG
CV1 2AH CV1 2AH
CV1 2AJ CV1 2AJ
CV1 2AL CV1 2AL
CV1 2AN CV1 2AN
CV1 2AP CV1 2AP
CV1 2AQ CV1 2AQ
CV1 2AR CV6 2DR

I need a way to compare the two and count the occrances in Column B that occure in Column A. These are UK Zip codes / post codes

Any help would be appreciated.


Answer from Richard Rost:

This is a good example of when to use the COUNTIF function. In your case, you could say something like this in cell C3:

=COUNTIF(A:A,B1)

Now you'll see how many times the value in B1 appears in column A. Autofill this down the column, and you're all set.

Here's more on COUNTIF:

You can use the SUMIF and COUNTIF functions to add up or count values based on specific criteria, respectively.

Here is a free tutorial that explains how to use both:

http://www.599cd.com/tips/excel/sumif-countif?key=BlFAlEx

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/18/2026 1:31:25 PM. PLT: 0s