serial numbers

N

Naveed

Hi,
When we put serial numbers in Excel sheet for example top to down 1 to
100 and we delete a row for example 30th so is this possible that serial
number can auto update and that sheet shows 1 to 99 nothing missing in-between

Looking for your resp.
BR
Naveed
 
S

Stefi

Use =ROW() function instead of constant numbers!

Regards,
Stefi

„Naveed†ezt írta:
 
K

Khoshravan

Nice solutions. To complete Stefi's solution, if you start from let say B13,
in order to get numbers starting from one, you have to use:
Row()-12
 
P

Pete_UK

Or you could use:

=ROW(A1)

on the first row (row 12), and then copy it down.

Hope this helps.

Pete
 
A

Ashish Mathur

Hi,

You can try this as well.

1. Enter 1 in the first cell, say E6;
2. In cell E6, enter MAX($E$6:E6)+1 and copy down

Now if you delete any row, the serial number will automatically update. This
would be marginally more efficient than the ROW() function because MAX() is
a non volatile function

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
R

Rasoul Khoshravan

A minor correction is necessary in your function. The next formula
should be entered in cell E7 not E6. A clever and nice solution.
 
C

Chris Bode via OfficeKB.com

Please follow following steps
1.Enter values 1 in first cell (say C1) and 2 to the second cell (say C2)
2.Now select cell C3 and enter following formula
=MAX($C$1:C2)+1
3.Now drag the cell C3 below to apply it to other cells as well

Hope you get it

Have a nice time….


Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top