Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pegasus Host
 
Posts: n/a
Default

That's worked exactly as I needed - thanks very much.

"Aladin Akyurek" wrote:

=SUM(IF(ISNUMBER(SEARCH("@",Range)),--LEFT(Range,SEARCH("@",Range)-1),0))

which you need to confirm with control+shift+enter instead of the usual
enter.

Pegasus Host wrote:
That's worked thanks, but now I have a follow up question. In front of each
text string that's been found, there is a number which I need to total up.
As an example, the cells contain entries like
9@2 or 21.5 @2 or
I'm able to total the number of cells that contain the text string @2
but how do I total all the digits in front of the @2

"Aladin Akyurek" wrote:


Whole string match:

=COUNTIF(Range,X2)

where X2 houses a criterion string.

Partial string match:

=COUNTIF(Range,X2&"*")

=COUNTIF(Range,"*"&X2)

=COUNTIF(Range,"*"&X2&"*")

Pegasus Host wrote:

I'm using excel 2002, and I want to count the number of cells in each row of
a database that contain a particular text string. Can anyone tell me how to
achieve this?


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
counting text cells Debbie Excel Worksheet Functions 4 February 8th 05 09:00 PM
how do I change the text case of imported data in excel? ArtLene Excel Discussion (Misc queries) 1 January 26th 05 07:08 AM
Extract hyperlink string from excel cell Ryan Sapien Links and Linking in Excel 1 January 20th 05 12:24 AM
How to make empty cells as zero in excel add-ins for SQL Server an Microlong Excel Worksheet Functions 0 January 12th 05 06:31 AM
How do I edit, copy and paste text in excel cells? floridactyl New Users to Excel 2 December 31st 04 03:52 PM


All times are GMT +1. The time now is 11:10 AM.

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"