Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Can I recognize the specific letters in a cell using formulas?

How can I recognize the first 2 letters in a cell using formulas? I want to
be able to recognize cells which contain certain initials from employees.
Example would be if C1=SS Glass, C2=AF Metal and C3=SS Paper, I need to know
that SS had 2 entries.

I am using Office 2003 w/ SP3.

Thanks,

Steve
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Can I recognize the specific letters in a cell using formulas?

You can use this:

=LEFT(C1,2)

to extract the first 2 characters of cell C1, and then copy it down.
In another cell you could have:

=COUNTIF(C:C,"SS")

to count the number of SS values.

Hope this helps.

Pete

On Mar 26, 11:01*am, Stevo wrote:
How can I recognize the first 2 letters in a cell using formulas? I want to
be able to recognize cells which contain certain initials from employees.
Example would be if C1=SS Glass, C2=AF Metal and C3=SS Paper, I need to know
that SS had 2 entries.

I am using Office 2003 w/ SP3.

Thanks,

Steve


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Can I recognize the specific letters in a cell using formulas?

Hi,

Try this

=SUM(IF(LEFT(C1:C20,2)="ss",1,0))

It's an array so commit with Ctrl+Shift+Enter

Mike

"Stevo" wrote:

How can I recognize the first 2 letters in a cell using formulas? I want to
be able to recognize cells which contain certain initials from employees.
Example would be if C1=SS Glass, C2=AF Metal and C3=SS Paper, I need to know
that SS had 2 entries.

I am using Office 2003 w/ SP3.

Thanks,

Steve

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Can I recognize the specific letters in a cell using formulas?

On Wed, 26 Mar 2008 04:01:01 -0700, Stevo
wrote:

How can I recognize the first 2 letters in a cell using formulas? I want to
be able to recognize cells which contain certain initials from employees.
Example would be if C1=SS Glass, C2=AF Metal and C3=SS Paper, I need to know
that SS had 2 entries.

I am using Office 2003 w/ SP3.

Thanks,

Steve



=COUNTIF(C1:C3,"SS *")

or, with some initials in D1

=COUNTIF(C1:C3,D1 & " *")
--ron
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
Array formulas won't recognize external data from Microsoft Query mmrtech Excel Discussion (Misc queries) 7 December 18th 06 11:31 PM
how can i get EXcel to add up letters in a specific color? lyssette Excel Worksheet Functions 1 July 8th 06 07:07 PM
Formulas do not recognize numbers lynnw Excel Discussion (Misc queries) 1 May 24th 06 11:42 PM
Excel does not recognize my formulas PB Excel Discussion (Misc queries) 2 November 25th 05 11:47 PM
Can Excel recognize when data is entered and apply formulas? cwool4512 Excel Worksheet Functions 2 July 7th 05 07:58 PM


All times are GMT +1. The time now is 06:51 PM.

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"