MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old Feb 18th, 2002, 01:11 PM   #1
wjoyner
New Member
 
Join Date: Feb 2002
Location: Wayne Joyner - Omaha, NE
Posts: 9
Default

I would like to count the number of times series of numbers appears in a column. For example: 123 is listed 2 times and 345 is listed 4 times. I would like to be able to sum the 2 (events)and 4 (events) for a value of 6 and place that value in a cell for additional use. Anyone know of a formula to do this? I'm trying to see how many times a ticket is responded to more than once during the reporting period.
wjoyner is offline   Reply With Quote
Old Feb 18th, 2002, 01:56 PM   #2
Chris Davison
MrExcel MVP
 
Join Date: Feb 2002
Location: Millbank, London, UK
Posts: 1,790
Default

you could countif each criteria and add them together

say b1 contains "123" and b2 contains "345"

and your ticket data is in range a1 to a20 :

=COUNTIF(A1:A20,B1)+COUNTIF(A1:A20,B2)

(I'd put your two criteria in their own cells otherwise you'd have to manually adjust your formula each time you want to change what you're looking for)





_________________
Hope this helps,
Chris


[ This Message was edited by: Chris Davison on 2002-02-18 12:57 ]

[ This Message was edited by: Chris Davison on 2002-02-18 12:57 ]
Chris Davison is offline   Reply With Quote
Old Feb 18th, 2002, 02:07 PM   #3
wjoyner
New Member
 
Join Date: Feb 2002
Location: Wayne Joyner - Omaha, NE
Posts: 9
Default

Good start I believe. However; I will not know what the numbers are in advance. The numbers that may be common will be random ticket numbers. For example : My On-Call person takes a call at 8:00 AM on ticket 55624, then later on the next day, the ticket is addressed again at 4:17 PM. (Probably hadn't been resolved yet). The ticket has now been reviewed 2 times over the course of 2 days. I want to be able to see how many times ticket 55624 has been addressed before it is finally closed. This could go on for 15 - 100 diffrent tickets during any given period. The ticket numbers would be random in that the customer calls are assigned a number when received, but may be worked by several diffrent people before finally being closed. Each person making an entry in the log for their efforts.
wjoyner is offline   Reply With Quote
Old Feb 18th, 2002, 02:33 PM   #4
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-02-18 13:07, wjoyner wrote:
Good start I believe. However; I will not know what the numbers are in advance. The numbers that may be common will be random ticket numbers. For example : My On-Call person takes a call at 8:00 AM on ticket 55624, then later on the next day, the ticket is addressed again at 4:17 PM. (Probably hadn't been resolved yet). The ticket has now been reviewed 2 times over the course of 2 days. I want to be able to see how many times ticket 55624 has been addressed before it is finally closed. This could go on for 15 - 100 diffrent tickets during any given period. The ticket numbers would be random in that the customer calls are assigned a number when received, but may be worked by several diffrent people before finally being closed. Each person making an entry in the log for their efforts.
I'd recommend that you create a PivotTable that lists 'ticket number' in the ROW area and Count of 'ticket number' in the DATA area. That leaves one question: How do you signify that the ticket is closed? Do you "flag" it in a separate column?
Mark W. is offline   Reply With Quote
Old Feb 18th, 2002, 02:41 PM   #5
wjoyner
New Member
 
Join Date: Feb 2002
Location: Wayne Joyner - Omaha, NE
Posts: 9
Default

Yes a seperate column is used to flag whether the ticket is closed. The columns include date, number, small issue field, persons name (working ticket (making entry)), and finally status. Status using one of three values. 'O' Open, 'X' Closed or '-' for pending.
wjoyner is offline   Reply With Quote
Old Feb 18th, 2002, 02:49 PM   #6
Mark W.
MrExcel MVP
 
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
Default

Quote:
On 2002-02-18 13:41, wjoyner wrote:
Yes a seperate column is used to flag whether the ticket is closed. The columns include date, number, small issue field, persons name (working ticket (making entry)), and finally status. Status using one of three values. 'O' Open, 'X' Closed or '-' for pending.
Then you could include 'Status' in the PivotTable's PAGE area and set it's value to "O".
Mark W. is offline   Reply With Quote
Old Feb 20th, 2002, 07:24 PM   #7
JerryWMac
New Member
 
Join Date: Feb 2002
Location: CD Victoria, Mexico
Posts: 1
Default

Hi Mark, this is an add-In. I ahve a similar problem to the above, I used your formula, or close to it, modified to fit in the data area. I can not get the durn thing to feed out.
Formula:
=COUNTIF(F1:K966,A2)
I continually get the same output, 0 which is null.
I want to count how many times the number in A2 is matching the numbers in the data.
JerryWMac is offline   Reply With Quote
Reply

Bookmarks

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 On

Forum Jump


All times are GMT -4. The time now is 07:07 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes