Pulse fllg & count label

Bebbspoke

Board Regular
Joined
Oct 10, 2014
Messages
193
Hi peoples; – I have a mental block every time I endeavour to process conditional counters where "next" count may be preceded by undefined row strings.

I have stated (as precisely as I'm able) the requirement below and posted an example with manual part- fill via dropbox link.

Please could someone be so kind as to provide a solution, thank you: -


Flag & count Label requirement:


System described is Real-time. The operation must be faultless. Look forward is NOT ALLOWED.

Please avoid the use of VLOOKUP &/or macro functions, thank you.



Col A & B are random strings of "1" or unknown events, i.e. x2 asynchronous binary pulse trains.

IF simultaneity occurs (i.e. A = 1 & B = 1) on same row; - flag "ERROR"


Process description:

A = 1 = Set / Reset flag & label

B0 = 3 (i.e. the first B = 1 after the A = 1 = S/R is labelled #3)

Bn becomes Bn+1 each consecutive occurrence of pulse B = 1

thus

B1 = 4

B2 = 5 et seq.

until pulse A = 1 = Reset flag & count label… continue (repeat) process data loop



Example: with reference to: https://www.dropbox.com/s/rpbcwp5w0rkma7q/Pulse flag & count label.xlsx?dl=0

Pulse train "A" (above) is col. A and Pulse train "B" (above) is col. B

C5 thru C150 is manually filled example of the flag & count label requirement as described.

Colouration is ONLY present as visual aid.

Sincere thanks, Bebbspoke.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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