Need HELP with auto fill series when the value changes in another column. PLEASE HELP!!

jazzy7010

New Member
Joined
Jan 10, 2014
Messages
2
Please HELP!!

I am trying to use the auto fill series but I need the series to start over every time the value change in another column.
If i use the auto fill series, it will copy 1,2,3,4,5 and so forth til the end of the column. In this case, i need the auto fill or some other function that will restart once it encounters a different value under the ID column. I've started below to show an example.

ID No
0.1114 1
0.1114 2
0.1114 3
0.112 1
0.112 2
0.112 3
0.112 4
0.112 5
0.112 6
0.1121
0.1121
0.1121
0.1121
0.1121
0.1121
0.1122
0.1122
0.1122
0.1122
0.1122
0.1122
0.1122
0.113
0.113
0.113
0.113
0.113
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If your numbers start in A2, put this in B2:
=COUNTIF($A$2:A2,A2)

Drag that baby down.
 
Last edited:
Upvote 0
If your values aren't sorted as you show in the sample dataset, then the formula will still do something...but maybe not what you hoped. For example, if I add another 0.113 at the end of the dataset (out of the sorting), the formula returns 6 because that is the sixth time the number 0.113 showed up in the list.
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,236
Members
448,555
Latest member
RobertJones1986

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