Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Spreadsheets   »   Count in excel excluding repeating numbers

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old May 2, 2008, 08:12 AM
jayjo97
New Member
jayjo97 is offline
 
Join Date: May 2008
Posts: 1
jayjo97 See this member's comment history on his/her Profile page.
Count in excel excluding repeating numbers

Is there a way for me to count in a column and exclude numbers that repeat? I am working a spreadsheet with account numbers and need to count how many account numbers...the problem is that some of them repeat within the spreadsheet. Can someone help??

Thanks in advance!

Reply With Quote
 
     

Answers
 
 
Old May 2, 2008, 01:38 PM   #2  
JBeaucaire
Software Expert
JBeaucaire is offline
 
JBeaucaire's Avatar
 
Join Date: Jan 2008
Location: (Call me JB) Bakersfield, CA
Posts: 2,175
JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.JBeaucaire See this member's comment history on his/her Profile page.
Pay to call JBeaucaire for advice ($.75/min)
Call JBeaucaire via Skype™
I don't know why this works, but I use it on one of my docs.

OK, first hightlight the entire range of cells that include the account numbers. I'm hoping they are all in a single column. With the cells highlighted, click on INSERT > NAME > DEFINE. In the popup that appears, type AccNums and click ADD.

You've just "named" all your account numbers and can use that name in a formula. Here is the formula:
Code:
=SUMPRODUCT((AccNums<>"")/COUNTIF(AccNums,AccNums&""))

This formula should result in the number of how many unique items it found in the range. It should also ignore blank cells.

Comments on this post
jayjo97 agrees: it worked wonderfully!
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
How to Count Differences in Excel JBeaucaire Spreadsheets 2 Apr 17, 2008 05:57 AM
padding numbers in excel joed123 Spreadsheets 2 Apr 10, 2008 05:43 AM
How could I put 2 conditions with COUNT IF Function and NESTED IF in Excel model miss-java Other Programming 6 Mar 22, 2007 04:38 PM
Excel Count Function eddiegeorge Spreadsheets 4 Mar 22, 2007 09:33 AM
Excel count function fyogi1 Spreadsheets 7 Apr 26, 2006 06:10 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 03:07 AM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.