outline numbering

jimrward

Well-known Member
Joined
Feb 24, 2003
Messages
1,877
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
looking for clever formula to number up some data, tis easy with VBA
A
A
A
B
B
C
D
E
E
etc

as follows, so basically where data is the same increment by minor of 0.1, when different increment by major of 1, there should be no more than 9 items per group

A 1.0
A 1.1
A 1.2
B 2.0
B 2.1
C 3.0
D 4.0
E 5.0
E 5.1
etc
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Formula in B2: =IF(A2=A1,B1+0.1,INT(B1)+1)
(copy down as far as necessary)
 
Upvote 0
Solution
Does this help?

=IF(A2=A1,C1+0.1,ROUND(C1,0)+1)

Pasted in B2 if the data range starts with A2. Paste through your data.

Prabby
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top