Dear Ninjas,
I am a working on some healthcare data and I have a data file with following fields:
Subject, Time, Validity.
I need to add couple of extra columns namely Acceptance, Sub_cumulative, StartEnd based on following logic:
For 6 continuous validity = "1", I need to start adding Acceptance = "1" till two consecutive Validity ="0", that means after 6 consecutive 1s, validity = "0" is accepted till two consecutive Validity ="0". And finally add "Start" and "End" marking that duration of the acceptance.
I have attached a workbook depicting above explanation. Would love a solution with formula, but open to a macro/VBA code(I have very little knowledge of VBA) too

Dr Abhijeet
I am a working on some healthcare data and I have a data file with following fields:
Subject, Time, Validity.
I need to add couple of extra columns namely Acceptance, Sub_cumulative, StartEnd based on following logic:
For 6 continuous validity = "1", I need to start adding Acceptance = "1" till two consecutive Validity ="0", that means after 6 consecutive 1s, validity = "0" is accepted till two consecutive Validity ="0". And finally add "Start" and "End" marking that duration of the acceptance.
I have attached a workbook depicting above explanation. Would love a solution with formula, but open to a macro/VBA code(I have very little knowledge of VBA) too

Dr Abhijeet