Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default number times a value appears in a column beside it chronological

I am looking to count how many times a number appears in a column beside that
number as you go down that column. Beside the first occurance of the number
10 the cell in the column beside it would have a 1, the next occurance of the
number 10 the cell in the column beside it would have a 2, and so on. Thank
you in advance for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 563
Default number times a value appears in a column beside it chronological

Assuming the column of numbers begins in A1
In B1 enter =COUNTIF(A1:$A$1,A1)
Copy this down the column by double clicking B1's fill handle
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Papa Cricket" <Papa wrote in message
...
I am looking to count how many times a number appears in a column beside
that
number as you go down that column. Beside the first occurance of the
number
10 the cell in the column beside it would have a 1, the next occurance of
the
number 10 the cell in the column beside it would have a 2, and so on.
Thank
you in advance for your help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default number times a value appears in a column beside it chronological

Sounds like a COUNTIF function, where the top of the range is fixed and the
bottom of the range is the current row. So if your data is in column A and
your count in column B, you could enter =countif(a$2:a2,a2) in cell b2, and
copy that down.

"Papa Cricket" wrote:

I am looking to count how many times a number appears in a column beside that
number as you go down that column. Beside the first occurance of the number
10 the cell in the column beside it would have a 1, the next occurance of the
number 10 the cell in the column beside it would have a 2, and so on. Thank
you in advance for your help.

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
Count the number of times specific text appears in a column Nannie Excel Worksheet Functions 5 August 27th 08 07:09 PM
Sum the amount of times a number appears in a column in Excel? SEMonroe Excel Worksheet Functions 2 July 16th 08 04:17 PM
count the number of times a specific word appears in a column BAR Excel Worksheet Functions 1 June 27th 06 05:03 PM
How to count the number of times a string appears in a column? btsray Excel Worksheet Functions 0 January 25th 06 10:15 PM
Count Number of Times Something appears Mark B Excel Worksheet Functions 5 November 29th 05 08:36 PM


All times are GMT +1. The time now is 07:36 AM.

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"