#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Counting Formula

Every cell in Column A starting in row 2 is filled with seven digit numbers.
Often times each seven digit number will occur more than once. I want to
put a formula in every cell in Column B starting in row 2 so that if I have a
seven digit number that appears for the first time in cell A5 a 1 will
appear next to it in B5. If that same seven digit number appears in cell A25
a 2 will appear next to it in cell B25. Finally if that same number
appears in cell A39 then a 3 will appear next to it in cell B39. However
the numbers won't always appear in A5, B25, or B39. Those were random cells
that I selected. Is this possible or do I need a macro to do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting Formula

Every cell in Column A starting in row 2 is filled

You can try this but if the above is literally true, this may not be such a
good idea!

Entered in B2 and copied down as needed.

=COUNTIF(A$2:A2,A2)

--
Biff
Microsoft Excel MVP


"MCheru" wrote in message
...
Every cell in Column A starting in row 2 is filled with seven digit
numbers.
Often times each seven digit number will occur more than once. I want to
put a formula in every cell in Column B starting in row 2 so that if I
have a
seven digit number that appears for the first time in cell A5 a "1" will
appear next to it in B5. If that same seven digit number appears in cell
A25
a "2" will appear next to it in cell B25. Finally if that same number
appears in cell A39 then a "3" will appear next to it in cell B39.
However
the numbers won't always appear in A5, B25, or B39. Those were random
cells
that I selected. Is this possible or do I need a macro to do this?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Counting Formula

Sorry for the delay. This is very good. Thank you for you're help!

"T. Valko" wrote:

Every cell in Column A starting in row 2 is filled


You can try this but if the above is literally true, this may not be such a
good idea!

Entered in B2 and copied down as needed.

=COUNTIF(A$2:A2,A2)

--
Biff
Microsoft Excel MVP


"MCheru" wrote in message
...
Every cell in Column A starting in row 2 is filled with seven digit
numbers.
Often times each seven digit number will occur more than once. I want to
put a formula in every cell in Column B starting in row 2 so that if I
have a
seven digit number that appears for the first time in cell A5 a "1" will
appear next to it in B5. If that same seven digit number appears in cell
A25
a "2" will appear next to it in cell B25. Finally if that same number
appears in cell A39 then a "3" will appear next to it in cell B39.
However
the numbers won't always appear in A5, B25, or B39. Those were random
cells
that I selected. Is this possible or do I need a macro to do this?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Counting Formula

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"MCheru" wrote in message
...
Sorry for the delay. This is very good. Thank you for you're help!

"T. Valko" wrote:

Every cell in Column A starting in row 2 is filled


You can try this but if the above is literally true, this may not be such
a
good idea!

Entered in B2 and copied down as needed.

=COUNTIF(A$2:A2,A2)

--
Biff
Microsoft Excel MVP


"MCheru" wrote in message
...
Every cell in Column A starting in row 2 is filled with seven digit
numbers.
Often times each seven digit number will occur more than once. I want
to
put a formula in every cell in Column B starting in row 2 so that if I
have a
seven digit number that appears for the first time in cell A5 a "1"
will
appear next to it in B5. If that same seven digit number appears in
cell
A25
a "2" will appear next to it in cell B25. Finally if that same number
appears in cell A39 then a "3" will appear next to it in cell B39.
However
the numbers won't always appear in A5, B25, or B39. Those were random
cells
that I selected. Is this possible or do I need a macro to do this?






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
Counting Formula Cathy Excel Discussion (Misc queries) 5 July 2nd 08 10:57 PM
counting formula Tendresse Excel Discussion (Misc queries) 8 March 13th 08 11:59 AM
COUNTING FORMULA TMF in MN Excel Worksheet Functions 1 February 26th 07 10:32 PM
Counting Formula santaviga Excel Worksheet Functions 3 May 9th 06 12:16 PM
formula on counting Michael A Excel Discussion (Misc queries) 2 January 6th 06 03:52 PM


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