Sep 16 2024 09:01 AM - edited Sep 17 2024 01:07 AM
I have been looking at the SEQUENCE function but, if I understand it correctly, you need to enter an end point for how many sequential numbers you want Excel to autofill (e.g. 1 to 1000)?
Is there a way to get Excel to autofill a sequential number when new data is entered in a Row?
For example, Column A is sequential numbers starting with '1' (without the ' ' inverted commas) in A1, then 2 in A2 etc and every time data is entered in a new Row in Column B (for example), a new sequential number is entered automatically in the same Row in Column A? TIA
Sep 16 2024 09:34 AM
SolutionSep 17 2024 01:10 AM
Sep 17 2024 02:16 AM
Sep 18 2024 05:39 AM
Sep 18 2024 01:59 PM
Does this do what you want?
=SEQUENCE(COUNTA(B:B), , COUNTA('Sheet 1'!B:B)+1)
where Sheet 1 is the name of the first sheet.
Sep 18 2024 02:19 PM
Sep 18 2024 02:35 PM
Sep 18 2024 02:45 PM
On Sheet 2, you can use
=SEQUENCE(COUNTA(B:B), , MAX('Sheet 1'!A:A)+1)
and on Sheet 3:
=SEQUENCE(COUNTA(B:B), , MAX('Sheet 2'!A:A)+1)
Etc.
Sep 18 2024 03:16 PM
Sep 16 2024 09:34 AM
Solution