Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Automatic Sequential numbers

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 266
Default Automatic Sequential numbers

=IF(ISTEXT(B2),"TC"&ROW(B2)&"/ "&B2,"")


"Neni" wrote:

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Automatic Sequential numbers

I think this formula does what you want...

=TEXT((ROW(A1)+9)*(B2<""),"TC\/000;;")

Just place it in the "start cell" and copy it down as far as needed.

--
Rick (MVP - Excel)


"Neni" wrote in message
...
I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function
but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far
too
advanced for me...
Any easier solution?

--
Greetings from Australia


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Automatic Sequential numbers

I believe you want consecutive numbers with blanks in Col A if Col B is
blank...

You can do this but with a helper column... Say Col Z
enter 10 in Z1
and this in Z2
=IF(B2<0,Z1+1,Z1)
and copy down

Now enter this in A1
=IF(B1<"","TC/0"&Z1,"")
and copy down...



"Neni" wrote:

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Automatic Sequential numbers

Hi,

Great it works, thanks very much. But if I don't want a helper column, is it
possible?

Neni,
Greetings from Australia


"Sheeloo" wrote:

I believe you want consecutive numbers with blanks in Col A if Col B is
blank...

You can do this but with a helper column... Say Col Z
enter 10 in Z1
and this in Z2
=IF(B2<0,Z1+1,Z1)
and copy down

Now enter this in A1
=IF(B1<"","TC/0"&Z1,"")
and copy down...



"Neni" wrote:

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Automatic Sequential numbers

Brillant! it works, thanks ever so much!
Out of information, (sorry not very expert in formulas), what means
TC\/000;;"? What is the \/ symbol?

Neni

--
Greetings from Australia


"Rick Rothstein" wrote:

I think this formula does what you want...

=TEXT((ROW(A1)+9)*(B2<""),"TC\/000;;")

Just place it in the "start cell" and copy it down as far as needed.

--
Rick (MVP - Excel)


"Neni" wrote in message
...
I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function
but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far
too
advanced for me...
Any easier solution?

--
Greetings from Australia



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Automatic Sequential numbers

Thank you very much for your help. But this formula is concatening the
contract number and title. I need fill in the contract name on cell B1 and
the cell A1 would be filled in automatically with TC/001. New contract name
on B2 and A2 fills in with TC/002 and so on...

Neni
--
Greetings from Australia


"dhstein" wrote:

=IF(ISTEXT(B2),"TC"&ROW(B2)&"/ "&B2,"")


"Neni" wrote:

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 225
Default Automatic Sequential numbers

The simples I could come up with is this...
Typr or paste
TC/010 in A1
and Typr or paste in A2
Typr or paste
=IF(B2="","","TC/0"&MID(LOOKUP(2,1/IF($A$1:A1="",$A$1:A1,1),$A$1:A1),5,LEN(LOOKUP(2,1/IF($A$1:A1="",$A$1:A1,1),$A$1:A1))-4)+1)
then press CTRL-SHIFT-ENTER together...

and copy down...

It will give you
TC/010, TC/011,...., TC/099, TC/0100...

Let us know how it goes..

"Neni" wrote:

Hi,

Great it works, thanks very much. But if I don't want a helper column, is it
possible?

Neni,
Greetings from Australia


"Sheeloo" wrote:

I believe you want consecutive numbers with blanks in Col A if Col B is
blank...

You can do this but with a helper column... Say Col Z
enter 10 in Z1
and this in Z2
=IF(B2<0,Z1+1,Z1)
and copy down

Now enter this in A1
=IF(B1<"","TC/0"&Z1,"")
and copy down...



"Neni" wrote:

I need to create a formula that will fill in automatically the sequential
number FC/010, FC/011, FC/012 on the cell next to the one where I insert
information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should fill in
automatically on cell A

So far I've only managed to get a logical formula that does the function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Automatic Sequential numbers

The \/ is not one symbol. It is a backslash \ followed by a forward slash /
The whole "TC\/000;;" is a custom formatting string which the TEXT function
can use to define the format of its output.
--
David Biddulph

Neni wrote:
Brillant! it works, thanks ever so much!
Out of information, (sorry not very expert in formulas), what means
TC\/000;;"? What is the \/ symbol?

Neni


I think this formula does what you want...

=TEXT((ROW(A1)+9)*(B2<""),"TC\/000;;")

Just place it in the "start cell" and copy it down as far as needed.

--
Rick (MVP - Excel)


"Neni" wrote in message
...
I need to create a formula that will fill in automatically the
sequential number FC/010, FC/011, FC/012 on the cell next to the
one where I insert information.

Ex.
Contract number Contract title
TC/010 Supply of uniforms
TC/011 Courier services
TC/012 Supply of cleaning services
Supply of paper
As I type the contract title on cell B the contract number should
fill in automatically on cell A

So far I've only managed to get a logical formula that does the
function but
filling sequential numbers without letters, 1,2,3,4
=IF(ISTEXT(B2),ROW()," ")
I've also searched the excel help tool, and I found that it would be
possible through using VBA functions which I have no idea how to
do. Far too
advanced for me...
Any easier solution?

--
Greetings from Australia



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
automatic sequential number on invoice or shippers jeannene Excel Worksheet Functions 2 October 7th 05 01:48 AM
automatic sequential numbering of new excel files pkw59 Setting up and Configuration of Excel 1 October 4th 05 11:53 AM
How do I get automatic sequential numbering when using an invoice. MaryL Excel Discussion (Misc queries) 1 April 15th 05 08:21 PM
automatic sequential numbering in excel or word greg2 Excel Discussion (Misc queries) 1 January 15th 05 05:35 PM
Automatic Sequential renumbering within formulas Task Lead Nicole Excel Worksheet Functions 3 January 8th 05 12:03 AM


All times are GMT +1. The time now is 01:49 PM.

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"