close
when I try to enter a number in acolumn, the date comes up! how do I just go
about numbering each row 1,2,3,4 etc. for future reference?

Hi Mike

Sounds like the column has been formatted as Date.
Select the Columngt;Formatgt;Cellsgt;Numbergt;General

If you would like the rows to be numbered automatically, if there is
something in column B of the row for example, then in A2 (assuming you
have headers in row 1, enter
=IF(B2=quot;quot;,quot;quot;,ROW())
and copy down

--
Regards

Roger Govierquot;mike samuelsquot; lt;mike gt; wrote in message
...
gt; when I try to enter a number in acolumn, the date comes up! how do I
gt; just go
gt; about numbering each row 1,2,3,4 etc. for future reference?
Format the cell as a number. Format--gt;Cells, choose Number and zero
decimals.
Excel doesn't have an quot;autonumberquot; feature. But you could do the following:
www.techonthenet.com/excel/fo...autonumber.php
Sorry about the popup.
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

quot;mike samuelsquot; lt;mike gt; wrote in message
...
gt; when I try to enter a number in acolumn, the date comes up! how do I just
gt; go
gt; about numbering each row 1,2,3,4 etc. for future reference?
Try something like this:

Like Roger says, start by formatting your cells as numbers.

If your first auto-number cell is A1, enter a 1 in that cell.
Put this formula in the next cell down:
A2: =MAX($A$1:OFFSET(A2,-1,1)) 1
(Even though it refers to itself, the OFFSET function will not trigger a
circular ref)
Copyt that formula down as far as you need.

Note: If you insert rows, the autonumbering will still work, but it will not
put a number in the blank cell that was added. If you need that cell to be
included in the series, just copy any of the formulas into the blank cell.
That cell and the ones below it will resequence.

If your first autonumber cell is not in row 1 then just put the formula in
the first autonumber cell.
Example:
A3: =MAX($A$1:OFFSET(A3,-1,1)) 1
Since no numbers are above A3 the formula will return 1.

Adjust references to suit your situation.

Is that something you can work with?

***********
Regards,
Ron

XL2002, WinXP-Proquot;mike samuelsquot; wrote:

gt; when I try to enter a number in acolumn, the date comes up! how do I just go
gt; about numbering each row 1,2,3,4 etc. for future reference?

Drat! My fingers typed what I told them, instead of what I wanted!

Corrections:

A2: =MAX($A$1:OFFSET(A2,-1,1)) 1
Should be
A2: =MAX($A$1:OFFSET(A2,-1,0)) 1

and
A3: =MAX($A$1:OFFSET(A3,-1,1)) 1
should be
A3: =MAX($A$1:OFFSET(A3,-1,0)) 1

(Sorry about the typos)

***********
Regards,
Ron

XL2002, WinXP-Proquot;Ron Coderrequot; wrote:

gt; Try something like this:
gt;
gt; Like Roger says, start by formatting your cells as numbers.
gt;
gt; If your first auto-number cell is A1, enter a 1 in that cell.
gt; Put this formula in the next cell down:
gt; A2: =MAX($A$1:OFFSET(A2,-1,1)) 1
gt; (Even though it refers to itself, the OFFSET function will not trigger a
gt; circular ref)
gt; Copyt that formula down as far as you need.
gt;
gt; Note: If you insert rows, the autonumbering will still work, but it will not
gt; put a number in the blank cell that was added. If you need that cell to be
gt; included in the series, just copy any of the formulas into the blank cell.
gt; That cell and the ones below it will resequence.
gt;
gt; If your first autonumber cell is not in row 1 then just put the formula in
gt; the first autonumber cell.
gt; Example:
gt; A3: =MAX($A$1:OFFSET(A3,-1,1)) 1
gt; Since no numbers are above A3 the formula will return 1.
gt;
gt; Adjust references to suit your situation.
gt;
gt; Is that something you can work with?
gt;
gt; ***********
gt; Regards,
gt; Ron
gt;
gt; XL2002, WinXP-Pro
gt;
gt;
gt; quot;mike samuelsquot; wrote:
gt;
gt; gt; when I try to enter a number in acolumn, the date comes up! how do I just go
gt; gt; about numbering each row 1,2,3,4 etc. for future reference?

Hi Mike,
The solution you choose from those suppliedwould be dependent on if you want permanent
numbers that do not change if you insert delete rows, or if you want the
numbers to change if you insert/delete rows.
arrow
arrow
    全站熱搜

    software 發表在 痞客邦 留言(0) 人氣()