Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue
 
Posts: n/a
Default sequential numbering in non adjacent cells

I am doing a receipt template under excel where it automatically updates info
from various workbooks giving the period payments made and then totals it and
converts the total to words. My question is how do I get it to automatically
put the sequential receipt number's into non adjacent cells e.g.
first receipt no. is 06/001 in cell G1, 06/002 is to be in cell O1, 06/003
cell G21, 06/004 cell O21, 06/005 cell G41, 06/006 cell O41... Don't want to
do it manually.
I'm just a novice, so I'm hoping someone has a simple answer.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

O1: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+1,"000")
G21: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+2,"000")

Copy O1 to O21, O41, etc. Copy G21 to G41, etc.



In article ,
Sue wrote:

I am doing a receipt template under excel where it automatically updates info
from various workbooks giving the period payments made and then totals it and
converts the total to words. My question is how do I get it to automatically
put the sequential receipt number's into non adjacent cells e.g.
first receipt no. is 06/001 in cell G1, 06/002 is to be in cell O1, 06/003
cell G21, 06/004 cell O21, 06/005 cell G41, 06/006 cell O41... Don't want to
do it manually.
I'm just a novice, so I'm hoping someone has a simple answer.

  #3   Report Post  
Sue
 
Posts: n/a
Default

Hi,
Thanks for the prompt response. I have given it a try and it does work but
I still have to change the + no. to get it to move on a number each time. I
have to set up 150 receipts so that way would take alot of time. If you have
another idea I'm all ears.
Thanks
Sue

"JE McGimpsey" wrote:

One way:

O1: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+1,"000")
G21: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+2,"000")

Copy O1 to O21, O41, etc. Copy G21 to G41, etc.



In article ,
Sue wrote:

I am doing a receipt template under excel where it automatically updates info
from various workbooks giving the period payments made and then totals it and
converts the total to words. My question is how do I get it to automatically
put the sequential receipt number's into non adjacent cells e.g.
first receipt no. is 06/001 in cell G1, 06/002 is to be in cell O1, 06/003
cell G21, 06/004 cell O21, 06/005 cell G41, 06/006 cell O41... Don't want to
do it manually.
I'm just a novice, so I'm hoping someone has a simple answer.


  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Did you try?

If you copy G21 to G41, you will see

G21: 06/003
G41: 06/005

so you don't have to change the "+ no." XL will automatically adjust the
cell reference.

In article ,
Sue wrote:

Thanks for the prompt response. I have given it a try and it does work but
I still have to change the + no. to get it to move on a number each time. I
have to set up 150 receipts so that way would take alot of time. If you have
another idea I'm all ears.

  #5   Report Post  
Sue
 
Posts: n/a
Default

Hi,
I copied G21 to G41 and got:
G21: 06/003
G41: 06/003
G61: 06/003
I copied O1 to O21 etc and got:
O21: 06/002
O41: 06/002
O61: 06/002
and so had to alter the + no. afterwards.
I have double checked your instructions and redid it all again but still got
the same answer. Excel does not seem to be recognising that it has to move
the numbers on.
What am I doing wrong?
Sue

"JE McGimpsey" wrote:

Did you try?

If you copy G21 to G41, you will see

G21: 06/003
G41: 06/005

so you don't have to change the "+ no." XL will automatically adjust the
cell reference.

In article ,
Sue wrote:

Thanks for the prompt response. I have given it a try and it does work but
I still have to change the + no. to get it to move on a number each time. I
have to set up 150 receipts so that way would take alot of time. If you have
another idea I'm all ears.




  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

First, make sure Calculation is set to Automatic
(Tools/Options/Calculation)

Second, make sure you're copying the entire cell (not just the formula
in Edit mode). XL will automatically adjust the formula so that you get:


G21: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+2,"000")
G41: =LEFT(G21,3) & TEXT(RIGHT(G21,3)+2,"000")
G61: =LEFT(G41,3) & TEXT(RIGHT(G41,3)+2,"000")


In article ,
Sue wrote:

I copied G21 to G41 and got:
G21: 06/003
G41: 06/003
G61: 06/003
I copied O1 to O21 etc and got:
O21: 06/002
O41: 06/002
O61: 06/002
and so had to alter the + no. afterwards.
I have double checked your instructions and redid it all again but still got
the same answer. Excel does not seem to be recognising that it has to move
the numbers on.
What am I doing wrong?

  #7   Report Post  
Sue
 
Posts: n/a
Default

Hi,
Thanks for that. Yes I was just copying the formula not the cell and now
doing it correctly it works just great. Thanks heaps!
Sue

"JE McGimpsey" wrote:

First, make sure Calculation is set to Automatic
(Tools/Options/Calculation)

Second, make sure you're copying the entire cell (not just the formula
in Edit mode). XL will automatically adjust the formula so that you get:


G21: =LEFT(G1,3) & TEXT(RIGHT(G1,3)+2,"000")
G41: =LEFT(G21,3) & TEXT(RIGHT(G21,3)+2,"000")
G61: =LEFT(G41,3) & TEXT(RIGHT(G41,3)+2,"000")


In article ,
Sue wrote:

I copied G21 to G41 and got:
G21: 06/003
G41: 06/003
G61: 06/003
I copied O1 to O21 etc and got:
O21: 06/002
O41: 06/002
O61: 06/002
and so had to alter the + no. afterwards.
I have double checked your instructions and redid it all again but still got
the same answer. Excel does not seem to be recognising that it has to move
the numbers on.
What am I doing wrong?


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
How do I stop text displaying in blank adjacent cells? CathyMcK Excel Discussion (Misc queries) 3 February 23rd 12 07:37 AM
Paste to adjacent cells Dave Excel Discussion (Misc queries) 3 May 25th 05 02:06 AM
selecting non adjacent cells fran Excel Worksheet Functions 4 April 25th 05 12:54 AM
automatic sequential numbering in excel or word greg2 Excel Discussion (Misc queries) 1 January 15th 05 05:35 PM
How do I set up sequential numbering on labels inventorybrokers Excel Worksheet Functions 3 November 19th 04 04:46 PM


All times are GMT +1. The time now is 02:46 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"