Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Breinn
 
Posts: n/a
Default adding a number to variables

I have a table that is like this

1
1
1
2
2
3
3
3
3

I would like it to look like this

1 1
1 2
1 3
2 1
2 2
3 1
3 2
3 3
3 4

any easy formula for that?

TIA




  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

B1: 1
B2: =IF(A2=A1,B1+1,1)

and copy down

--
HTH

Bob Phillips

"Breinn" wrote in message
...
I have a table that is like this

1
1
1
2
2
3
3
3
3

I would like it to look like this

1 1
1 2
1 3
2 1
2 2
3 1
3 2
3 3
3 4

any easy formula for that?

TIA






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 add the number of variables? emaufmuth Excel Discussion (Misc queries) 1 August 8th 05 09:19 PM
look up number in column eioval Excel Worksheet Functions 2 July 30th 05 08:16 PM
What is the formula for adding a number of days to an existing dat Ivan Excel Worksheet Functions 1 May 4th 05 03:00 AM
adding a zero in front of number Pinky Excel Discussion (Misc queries) 3 April 7th 05 09:05 PM
Adding cells, using text as number Pgsmom Excel Discussion (Misc queries) 4 January 10th 05 07:21 PM


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