#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default AUTO NUMBER

I NEED A FUNCTION , MACRO TO NUMBERV AUTOMATICALLY IN COLUMN "A" THE THINGS I WRITE IN COLUMN "B"

THANK YOU IN ADVANCE
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default AUTO NUMBER

Hi,

This isn't clear but how about this. Put a 1 in A1 and then this in A2 and
drag down

=IF(B2<"",MAX($A$1:A1)+1,"")

Also please switch of the CAPS, it's considered to shouting and makes things
difficult to read.

Mike

"ISIDOROS KMS" wrote:

I NEED A FUNCTION , MACRO TO NUMBERV AUTOMATICALLY IN COLUMN "A" THE THINGS I WRITE IN COLUMN "B"

THANK YOU IN ADVANCE

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default AUTO NUMBER

I think your interpretation of what the OP wants (number only the cells that
are filled in) is probably correct; however, your method requires that the
first item in Column B must be located on Row 1. The following formula put
in A1 and copied down does not have that requirement...

=IF(AND(B1<"",COUNTA(B$1:B1)0),COUNTA(B$1:B1),"" )

--
Rick (MVP - Excel)


"Mike H" wrote in message
...
Hi,

This isn't clear but how about this. Put a 1 in A1 and then this in A2 and
drag down

=IF(B2<"",MAX($A$1:A1)+1,"")

Also please switch of the CAPS, it's considered to shouting and makes
things
difficult to read.

Mike

"ISIDOROS KMS" wrote:

I NEED A FUNCTION , MACRO TO NUMBERV AUTOMATICALLY IN COLUMN "A" THE
THINGS I WRITE IN COLUMN "B"

THANK YOU IN ADVANCE


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default AUTO NUMBER

Hi,

I know you probably don't want this, but if you enter 1 in cell A1 and 2 in
A2, then highlight both and double click the fill handle Excel will number
sequentially as far down at the data goes in column B.

If you want a formula and you data is solid, no blanks in column B until
there are no more entries, then you can use the formula
=IF(B1<"",ROW(A1),"")
Or if you are putting the formula in A1 then
=IF(B1<"",ROW(),"")
Copy these down as far as necessary.

if this helps, please click the Yes button
--
Thanks,
Shane Devenshire


"ISIDOROS KMS" wrote:

I NEED A FUNCTION , MACRO TO NUMBERV AUTOMATICALLY IN COLUMN "A" THE THINGS I WRITE IN COLUMN "B"

THANK YOU IN ADVANCE

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Number the Rows of Auto Filter Result ashish128 Excel Discussion (Misc queries) 3 April 29th 07 06:41 PM
auto increase number if number is double or more chapeau_melon Excel Worksheet Functions 4 March 28th 07 12:08 AM
Auto Number horseman Excel Discussion (Misc queries) 2 November 24th 05 04:28 PM
Auto number w/ different letter-number combos in same column Colleen B Excel Worksheet Functions 2 February 23rd 05 02:41 PM
assign auto number and auto date Krit Kasem Excel Discussion (Misc queries) 2 January 14th 05 02:55 AM


All times are GMT +1. The time now is 06:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"