Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2007

Tip: Looking for answers? Try searching our database.

Formula help needed if possible!?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GD - 21 Dec 2007 11:13 GMT
Hi there, i'm attempting to implement a cross-sheet formula to count the
occurances of a single phrase or grouping in one sheet, producing a simple
total figure in a cell in another.
To put it into real terms, in one sheet there is a collumn with a series of
initials indicating an occurence related to their performance - which I am
looking to produce a small scorecard in a separate sheet for each user.
Eh Sheet 1 - B7:B47 have phrases such as GD (KS), AG (KS) etc etc etc - I
need a formula which counts the occurances of a specified such phrase, say GD
(KS) and totals the figure in Sheet 2, for instance if GD (KS) is present 5
times, I need the formula to simply count this and read 5
Ive tried using =SUM(LEN(G21:G25)-LEN(SUBSTITUTE(G21:G25,"GD (KS)",""))) but
for some reason it only reacts when the phrase is put in one particular cell,
and reather than reading 1 as if it was only counting that, it produces the
number 2!?

Any help would be greatfuly recieved, cheers
Bob Phillips - 21 Dec 2007 12:29 GMT
try this

=SUMPRODUCT(--(LEN(G21:G25)-LEN(SUBSTITUTE(G21:G25,"GD (KS)",""))>0))

or this case-sensitive version

=SUMPRODUCT(--(ISNUMBER(FIND("GD (KS)",G21:G25))))

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Hi there, i'm attempting to implement a cross-sheet formula to count the
> occurances of a single phrase or grouping in one sheet, producing a simple
[quoted text clipped - 18 lines]
>
> Any help would be greatfuly recieved, cheers
GD - 21 Dec 2007 12:45 GMT
Bob that's fantastic, thanks ever so much for the help.

> try this
>
[quoted text clipped - 26 lines]
> >
> > Any help would be greatfuly recieved, cheers
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.