1-100

  • Thread starter schaduw - ExcelForums.com
  • Start date
S

schaduw - ExcelForums.com

Is it possible to have row A numbered from 1 to 100, and if one of th
numbers is removed the count will automatically change

i.e




etc

Now 2 gets deleted, how can i get excel to change 3 to 2 and so on fo
the rest of the numbers

hope this makes sense at all :
 
F

Frank Kabel

Hi
in A1 enter
=IF(B1<>"",1,"")

in A2 enter
=IF(B2<>"",MAX($A$1:OFFSET(A2,-1,0))+1,"")
and copy this formula down for as many rows as required. Now everytime
someone enters data in column B column A shows a ID value
 

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