Solved

Excel question

Posted on 2014-01-23
9
195 Views
Last Modified: 2014-01-23
Hi Experts,

Something that should be simple but I am struggling with :-)

I have in column A a list of names
I have in column B another list of other names

I want to count how many times the same names appear in column B when it matches a name in column A

added an excel in order to clarify

Hope that is clear enough

Thx in advance !
David
test.xlsx
0
Comment
Question by:dlan75
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 11

Assisted Solution

by:Angelp1ay
Angelp1ay earned 50 total points
Comment Utility
You can use COUNTIFS:
=COUNTIFS($A$1:$A$17,"David",$B$1:$B$17,"C")

Open in new window

Solution.xlsx
0
 
LVL 18

Assisted Solution

by:Steven Harris
Steven Harris earned 50 total points
Comment Utility
COUNTIFS should work out.  Check the attached sheet.
EE-test.xlsx
0
 
LVL 23

Accepted Solution

by:
NBVC earned 400 total points
Comment Utility
If you list David and Robert in A25:A26 and list C and D in B24:C24, then use formula:

=COUNTIFS($A$1:$A$17,$A25,$B$1:$B$17,B$24)

copied to next column and down.

Alternatively, You can also add headers to the list and create a Pivot Table that will do the same summary quicker.
test-3.xlsx
0
 
LVL 12

Author Comment

by:dlan75
Comment Utility
Nice but how to make it work on a whole column? Not A1:A4 but $A:$A
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 18

Expert Comment

by:Steven Harris
Comment Utility
Same principle applies:

=COUNTIFS(A:A, "Criteria1", B:B, "Criteria2")
0
 
LVL 12

Author Comment

by:dlan75
Comment Utility
well this is what I thought but it is not working ...
0
 
LVL 23

Expert Comment

by:NBVC
Comment Utility
Make sure that the formula itself is not in column A or B...
0
 
LVL 12

Author Comment

by:dlan75
Comment Utility
it is not ! found a temporary workaround but would be easier to be able to select the entire column
0
 
LVL 18

Expert Comment

by:Steven Harris
Comment Utility
found a temporary workaround
Such as?

would be easier to be able to select the entire column
We provided that solution:

=COUNTIFS(A:A, "Criteria1", B:B, "Criteria2")
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now