Combine If and Loop to fetch previous data

Viewed 14

I am trying to find a loop for below problem. I am having a data set which has '0' values for Holiday and Weekends and '1' for Working days. I need a program which will fetch data from immediate previous '1' value to till date. Please help

0 Answers
Related