LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default adding up times x occurs, excluding if y repeats in a different co

Hi,

I have a list of people who have attended our events in the past. In column
A, I have the names. In Column B, I have the city that they are from. I am
trying to create a list of how many people are from what area, but not
include repeated names. It's a little complicated because multiple cities go
into one area. I've figured out a way to do that - I'm using sumif/countif.
However, the number is too big because it will count someone who is from one
city that's gone to five different events five times.

To give an idea of what the spreadsheet looks like:

Joe Shanghai
Joe Shanghai
Joe Shanghai
Joe Shanghai
Mark Shanghai
Eric Houston
Ben DC
Ben DC
Max Beijing
Max Beijing
Alice Houston
Amy Houston
Amy Houston

So I need the output to look something like this:

China(Shanghai&Beijing): 3
US(Houston&DC):4

Would it also be the same way to do it if each city was represented by a
number, rather than text?


Thanks so much.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count the number of times a name occurs in a column Gary Excel Worksheet Functions 2 December 28th 06 12:07 AM
I want to see how many times each number occurs in an array. eingram Excel Discussion (Misc queries) 3 June 21st 06 02:53 AM
I would like to count the # of times a value occurs in Col B base shopaholic Excel Worksheet Functions 3 December 9th 05 04:25 PM
How to count the number of times something occurs within a certain month Joyce Excel Worksheet Functions 2 October 18th 05 08:38 PM
How do I count the times a number occurs in a given criteria? w_aller Excel Discussion (Misc queries) 2 February 3rd 05 09:06 AM


All times are GMT +1. The time now is 04:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"