Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have 500 lines and would like to number each row, however some rows contain
the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi!
Try this: Assume your data is in the range A1:A500. In B1 enter 1. Enter this formula in B2 and copy down to B500: =IF(A2=A1,B1,B1+1) Biff "Ann" wrote in message ... I have 500 lines and would like to number each row, however some rows contain the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you very much but =IF(A2=A1,B1,B1+1) did not work for me. Any other
suggestions? Thanks "Biff" wrote: Hi! Try this: Assume your data is in the range A1:A500. In B1 enter 1. Enter this formula in B2 and copy down to B500: =IF(A2=A1,B1,B1+1) Biff "Ann" wrote in message ... I have 500 lines and would like to number each row, however some rows contain the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Post an example of your data and what result you expect.
Biff "Ann" wrote in message ... Thank you very much but =IF(A2=A1,B1,B1+1) did not work for me. Any other suggestions? Thanks "Biff" wrote: Hi! Try this: Assume your data is in the range A1:A500. In B1 enter 1. Enter this formula in B2 and copy down to B500: =IF(A2=A1,B1,B1+1) Biff "Ann" wrote in message ... I have 500 lines and would like to number each row, however some rows contain the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here's an example: Below I have entered 3 parts , but I have a toal of 6 rows
because I want to enter #7 twice,#8 once and #9 is entered 3 times. 7 388018400 7 388018400 8 387844800 9 388018500 9 388018500 9 388018500 "Biff" wrote: Post an example of your data and what result you expect. Biff "Ann" wrote in message ... Thank you very much but =IF(A2=A1,B1,B1+1) did not work for me. Any other suggestions? Thanks "Biff" wrote: Hi! Try this: Assume your data is in the range A1:A500. In B1 enter 1. Enter this formula in B2 and copy down to B500: =IF(A2=A1,B1,B1+1) Biff "Ann" wrote in message ... I have 500 lines and would like to number each row, however some rows contain the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Take a look at this screencap:
http://img39.imageshack.us/img39/5531/countrows9vn.jpg Biff "Ann" wrote in message ... Here's an example: Below I have entered 3 parts , but I have a toal of 6 rows because I want to enter #7 twice,#8 once and #9 is entered 3 times. 7 388018400 7 388018400 8 387844800 9 388018500 9 388018500 9 388018500 "Biff" wrote: Post an example of your data and what result you expect. Biff "Ann" wrote in message ... Thank you very much but =IF(A2=A1,B1,B1+1) did not work for me. Any other suggestions? Thanks "Biff" wrote: Hi! Try this: Assume your data is in the range A1:A500. In B1 enter 1. Enter this formula in B2 and copy down to B500: =IF(A2=A1,B1,B1+1) Biff "Ann" wrote in message ... I have 500 lines and would like to number each row, however some rows contain the same information 2 or more times, so I need to keep the numbering in sequence by repeating the same number where the rows contain the same information. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
omitting column letters and numbers of rows | Excel Discussion (Misc queries) | |||
how do I insert an ' in front of many rows of numbers? | Excel Discussion (Misc queries) | |||
Trying to enter a range of numbers using >1 and < 5 in a formula | Excel Worksheet Functions | |||
My rows switched to having numbers instead of letters. | New Users to Excel | |||
Adding Rows to Master Sheet | New Users to Excel |