LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jen Jen is offline
external usenet poster
 
Posts: 119
Default counting the first letters or first 2 letters in strings

Hi all.

I have some columns with strings of letters and words (the results of a
spelling test) and I want to count up how often each letter of the alphabet
(case-sensitive) is used in the FIRST position of each entry, working with
one column at a time. What combination of functions should I use? Without
having much experience with Excel, I tried this formula for finding
lower-case a's and was given an error message: sum(if((find"",
A2:A160)="a"),1,0)). I was trying to tell the computer to sum each cell over
the range A2:A160 whose first-position character is /a/, letting each
instance of /a/ equal 1.

To complicate matters, a second question: I have to also count up the number
of reversed letters at the /beginning/ of each string. Reversed letters have
been coded as c1, e1, f1, etc. How would I isolate those 2-character
units--again, only at the beginning of the strings--and count them up on a
column-by-column basis?

Much obliged for your assistance!!
--
Jen
 
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
Custom Formating Letters to Numbers while Displaying Letters Luke Androsiglio Excel Worksheet Functions 2 March 31st 10 06:29 PM
Columns now numbers rather than letters how do i get letters back SalExcel10 Excel Discussion (Misc queries) 2 March 4th 10 02:48 PM
Count only Letters in cells that contain both letters and numbers TommyB Excel Worksheet Functions 2 August 8th 09 12:29 AM
counting the first letters or first 2 letters in strings Rick Rothstein Excel Programming 0 April 21st 09 09:53 PM
How do change a column of data in capitol letters to small letters Barb P. Excel Discussion (Misc queries) 6 November 15th 06 06:17 PM


All times are GMT +1. The time now is 03:52 PM.

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"