Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rahahmed
 
Posts: n/a
Default Assigning a value to a character (?)


Hi,

I have a slight problem in that i need to somehow calculate the total
number of certain characters in various fields. So if the spreadsheet
contains:

P P P P L
L L

This is in one row.

I need excel to count the number of P's and L's, is this possible? I
can do it with numbers but i need help with characters.

Thanks.


--
rahahmed
------------------------------------------------------------------------
rahahmed's Profile: http://www.excelforum.com/member.php...o&userid=30038
View this thread: http://www.excelforum.com/showthread...hreadid=497238

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default Assigning a value to a character (?)

Use COUNTIF()


=COUNTIF(A1:Z1,"P") in an un-used cell

--
Gary's Student


"rahahmed" wrote:


Hi,

I have a slight problem in that i need to somehow calculate the total
number of certain characters in various fields. So if the spreadsheet
contains:

P P P P L
L L

This is in one row.

I need excel to count the number of P's and L's, is this possible? I
can do it with numbers but i need help with characters.

Thanks.


--
rahahmed
------------------------------------------------------------------------
rahahmed's Profile: http://www.excelforum.com/member.php...o&userid=30038
View this thread: http://www.excelforum.com/showthread...hreadid=497238


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rahahmed
 
Posts: n/a
Default Assigning a value to a character (?)


Thanks, that works perfectly! :)


--
rahahmed
------------------------------------------------------------------------
rahahmed's Profile: http://www.excelforum.com/member.php...o&userid=30038
View this thread: http://www.excelforum.com/showthread...hreadid=497238

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
I need help assigning a value to a character billybob Excel Discussion (Misc queries) 5 August 27th 05 02:28 AM
How to assign character (text) values to y-axis in a Excel chart? cy Charts and Charting in Excel 1 July 16th 05 10:39 PM
Copy a column in worksheet with a character change photowiz Excel Worksheet Functions 1 February 5th 05 03:35 PM
Searching a cell for a certain character. Matt Excel Worksheet Functions 3 January 3rd 05 09:14 PM
Removing ' character from cells Don Excel Discussion (Misc queries) 5 December 21st 04 05:41 PM


All times are GMT +1. The time now is 12:03 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"