Numbering Line Automatically

chris89

New Member
Joined
Feb 4, 2005
Messages
31
I want to have automatic incrementing line numbering in Column A, sheet "All_Amend", but only if there is adata int he corresponding cell in Column, after the data is copying from "Form" sheet.
Programme Amendment 1.1.xls
ABCDEFG
14NoAmentdTxDateDateTxTimeAmendtProgrammeTitle
15DateDifference
16112/01/200531/01/200513asdajhkkh
17
18213/01/200514/01/20051wrwefkjk
19
20315/02/200520/03/200524kjlljlljlj
21
22418/01/200513/02/200519
23
Form
Programme Amendment 1.1.xls
ABCDEFG
1597924/01/200530/01/2005512:30pm-1:00pmDeleteMusical
160InsertCloseUp"Spider"(Ep.9)
1618026/01/200530/01/200537:00pm-7:30pmDeleteEntertainmentNow(SS.2)(Ep.12)LastEpisode
162InsertEntertainmentNow(SS.2)(Ep.13)
163112/01/200531/01/200513asdajhkkh
164
165213/01/200514/01/20051wrwefkjk
166
167315/02/200520/03/200524kjlljlljlj
168
169418/01/200513/02/200519
170
All _Amend


Pls help....
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Html doesn't work.. :oops: :oops:

Formulas are:

A1: =IF(B1<>"",1,"")
A2: =IF(B2<>"",MAX($A$1:A1)+1,"")
Copy down for A3, A4...


Ciao
 
Upvote 0

Forum statistics

Threads
1,214,883
Messages
6,122,077
Members
449,064
Latest member
MattDRT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top