LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Counting Macro

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
create a macro that covers every cell in Columns A: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 again by chance in cell A25 a 2 will appear next to it in cell B25.
Finally if that same seven digit number appears by chance in cell A39 then a
3 will appear next to it in cell B39.
 
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
Macro formula for counting rows Bud Excel Programming 4 September 26th 08 10:03 PM
Counting macro Eric Excel Programming 2 November 7th 07 07:36 PM
macro runs counting sisco98 Excel Programming 6 June 3rd 05 02:42 PM
Counting cells in a macro Chip Pearson Excel Programming 1 September 17th 04 10:15 PM
Counting cells in a macro Tony Excel Programming 0 September 17th 04 09:43 PM


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