Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Simon Lloyd
 
Posts: n/a
Default Counting each time text appears in range???


Hi all, is there a function for counting the instances of text in a
range of cells?, if i wanted to put a formula in A1000 that looked at
the range(A2:A999) how would i get it to check if text exists if so
count 1 if 2 instances of text exist count 2 and so on so if every cell
had text in it i would end up with a figure of 997 in A1000.

is this possible?

regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=550270

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macropod
 
Posts: n/a
Default Counting each time text appears in range???

Hi Simon,

Try:
=SUM(IF(ISTEXT(A2:A999),1,0))
as an array formula - entered with <Ctrl-Shift-Enter, instead of <Enter.

Cheers

--
macropod
[MVP - Microsoft Word]


"Simon Lloyd"
wrote in message
...

Hi all, is there a function for counting the instances of text in a
range of cells?, if i wanted to put a formula in A1000 that looked at
the range(A2:A999) how would i get it to check if text exists if so
count 1 if 2 instances of text exist count 2 and so on so if every cell
had text in it i would end up with a figure of 997 in A1000.

is this possible?

regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile:

http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=550270



Reply
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
Converting Text to Time format of XX:XX Marck Excel Discussion (Misc queries) 3 February 25th 06 03:48 PM
Text to time convert Rudo Excel Discussion (Misc queries) 2 November 14th 05 01:00 AM
convert time imported as text to time format for calculations batfish Excel Worksheet Functions 3 October 27th 05 11:24 PM
How can I display a cell range in a text box in excel? Pat Hughes Excel Discussion (Misc queries) 3 September 22nd 05 05:13 PM
counting a cell range within a range mmay321 Excel Worksheet Functions 2 August 10th 05 03:56 PM


All times are GMT +1. The time now is 05:35 AM.

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

About Us

"It's about Microsoft Excel"