Count delay of specific number after it finds reset to 0, and repeat counts

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,371
Office Version
  1. 2010
Hello,

I need a formula or VBA, which can count delay of specific number after it finds reset to 0, and repeat counts

My numbers are in the B6 to down in the column I want to find the delay of particular of number "1" in the given example first delay of number "1" is find at 9 counting from cell B6 to down, once find place 9 in the column C in front of the number "1", reset count to "0" repeat the process keep counting delay till end of the column.

Also for more detail the image is attached.
*ABCDE
1
2
3
4DataDelay
5DataResult
616
77
814
94
1015
1133
123
134
1419
1514
166
175
1815
1915
2015
216
229
232
242
253
264
272
2824
297
309
315
3220
336
34115
358
365
3715
3821
3912
4016
4114
4212
4311
446
454
4613
4711
4811
4911
5015
513
527
533
546
5510
567
5718
5811

Thank you all.

I am using Excel 2000

Regards,
Moti
 

Attachments

  • Count delay of specific number.png
    Count delay of specific number.png
    23.2 KB · Views: 11

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Upvote 0
Solution
Fluff, it works as treat query solved.

I do appreciate your kind help and time you spent to solve my question.

Kind Regards

Moti :)
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,882
Messages
6,127,535
Members
449,385
Latest member
KMGLarson

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