LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default How do I create a function that counts number of cells in a series

For example, suppose you have the following data:

P
S
S
P
S
S
S
P
S
S

and you want to count how many "S"s repeat after each "P." That is, you're
looking for output:

"2s" = 2
"3s" = 1

Is there any way to write a function to do that?
 
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
HOW DO I CREATE A SERIES INVOLVING CELLS ACROSS ROWS? CNN Excel Discussion (Misc queries) 3 July 24th 08 03:38 AM
Number of Months Counts Jalal Excel Worksheet Functions 3 February 23rd 08 08:19 PM
Need to create a formula that counts dates Craig Excel Discussion (Misc queries) 2 November 28th 07 09:16 AM
a function that counts the number of cells with information zuri125 Excel Worksheet Functions 1 June 7th 06 07:37 AM
a function that counts the amount of cells with information in them zuri125 Excel Discussion (Misc queries) 2 June 7th 06 05:02 AM


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