A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum in numbers for text values



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2006, 02:54 PM posted to microsoft.public.excel.newusers
asgh77
external usenet poster
 
Posts: 1
Default Sum in numbers for text values


Help! I have been asked by work to create a spreadsheet for tracking the
number of companies we are speaking to. I need to calculate the total
number of companies in a certain column but some companies are listed
twice as we have different contacts in each company.

Do I need to somehow convert the text in to a numerical value in order
to total each column and how do I go about excluding duplicates?

Thanks

Andy


--
asgh77
------------------------------------------------------------------------
asgh77's Profile: http://www.excelforum.com/member.php...o&userid=36700
View this thread: http://www.excelforum.com/showthread...hreadid=564707

  #2  
Old July 25th, 2006, 03:25 PM posted to microsoft.public.excel.newusers
Bernie Deitrick
external usenet poster
 
Posts: 2,496
Default Sum in numbers for text values

Andy,

The array formula (entered using Ctrl-Shift-Enter)

=SUM(IF(A1:A1000"",1/COUNTIF(A1:A1000,A1:A1000)))

will count the number of unique entries in A1:A1000.

HTH,
Bernie
MS Excel MVP


"asgh77" wrote in message
...

Help! I have been asked by work to create a spreadsheet for tracking the
number of companies we are speaking to. I need to calculate the total
number of companies in a certain column but some companies are listed
twice as we have different contacts in each company.

Do I need to somehow convert the text in to a numerical value in order
to total each column and how do I go about excluding duplicates?

Thanks

Andy


--
asgh77
------------------------------------------------------------------------
asgh77's Profile: http://www.excelforum.com/member.php...o&userid=36700
View this thread: http://www.excelforum.com/showthread...hreadid=564707



  #3  
Old July 25th, 2006, 03:38 PM posted to microsoft.public.excel.newusers
Kernow Girl
external usenet poster
 
Posts: 59
Default Sum in numbers for text values

Hi asgh77 -

try Data / Subtotals -

I ended up with the column below showing each value and how many, I then did
a bog standard count at the bottom (does not count text values).

any
any
any
anyCount 3
fred
fred Count 1
gowe
gowe Count 1
jowe
jowe Count 1
hopt
hopt Count 1

5
Hope this helps --- Dika



"asgh77" wrote:


Help! I have been asked by work to create a spreadsheet for tracking the
number of companies we are speaking to. I need to calculate the total
number of companies in a certain column but some companies are listed
twice as we have different contacts in each company.

Do I need to somehow convert the text in to a numerical value in order
to total each column and how do I go about excluding duplicates?

Thanks

Andy


--
asgh77
------------------------------------------------------------------------
asgh77's Profile: http://www.excelforum.com/member.php...o&userid=36700
View this thread: http://www.excelforum.com/showthread...hreadid=564707


  #4  
Old July 25th, 2006, 03:46 PM posted to microsoft.public.excel.newusers
SteveW
external usenet poster
 
Posts: 399
Default Sum in numbers for text values

Neat - never thought of using that trick


Steve



On Tue, 25 Jul 2006 15:25:34 +0100, Bernie Deitrick deitbe consumer dot
org wrote:

Andy,

The array formula (entered using Ctrl-Shift-Enter)

=SUM(IF(A1:A1000"",1/COUNTIF(A1:A1000,A1:A1000)))

will count the number of unique entries in A1:A1000.

HTH,
Bernie
MS Excel MVP


"asgh77" wrote in
message
...

Help! I have been asked by work to create a spreadsheet for tracking the
number of companies we are speaking to. I need to calculate the total
number of companies in a certain column but some companies are listed
twice as we have different contacts in each company.

Do I need to somehow convert the text in to a numerical value in order
to total each column and how do I go about excluding duplicates?

Thanks

Andy

  #5  
Old July 25th, 2006, 03:49 PM posted to microsoft.public.excel.newusers
asgh77
external usenet poster
 
Posts: 1
Default Sum in numbers for text values


Thanks Bernie - that worked perfectly!

Regards

Andy


--
asgh77
------------------------------------------------------------------------
asgh77's Profile: http://www.excelforum.com/member.php...o&userid=36700
View this thread: http://www.excelforum.com/showthread...hreadid=564707

 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I uniformly change the values (numbers) of many cells? Exce Dave6 Worksheet Functions 1 July 19th, 2006 11:40 PM
can numbers be assigned to values, replacing values for numbers Cossloffe General Discussion 2 June 3rd, 2006 10:22 AM
Why are 1/2 my numbers imported as text and the rest as numbers? KBear General Discussion 2 April 21st, 2006 01:40 PM
Generate series of numbers [email protected] Using Forms 6 November 17th, 2005 07:07 PM
How to calculate values from 2 tables Luke Running & Setting Up Queries 2 December 9th, 2004 03:55 PM


All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.