Hello everyone,
First of all, I don’t have the files available so I’ll try to do my best to be clear !
Let’s imagine we have two columns, in the first one we have the employee’s number (it might be a number of numbers with letters). In the second column we just have a number (we can suppose that this number is 1,0,etc and that it can represents whatever we want, if he smokes, etc, we don’t really care here). Some employees (so illustrated by their employee’s number) don’t have a number in the second column (we can imagine that we don’t have the information about them).
Now the problem ! What I am trying to do is to find a formula that could list the number of employee from the top to the bottom but in a special way: I want to see if there is something in the second column and as long as something is present we just continue listing the employees (their number) but when a cell in the second column is empty, I would like my formula to start back from the top (so from my first employee’s number) while continuing after the blank in the second column. This might seem confusing since I have used the example of smoking for column two but the data are a bit more complex and it was the first example I have found !
I hope my problem is clear and I already thank you for your help !
First of all, I don’t have the files available so I’ll try to do my best to be clear !
Let’s imagine we have two columns, in the first one we have the employee’s number (it might be a number of numbers with letters). In the second column we just have a number (we can suppose that this number is 1,0,etc and that it can represents whatever we want, if he smokes, etc, we don’t really care here). Some employees (so illustrated by their employee’s number) don’t have a number in the second column (we can imagine that we don’t have the information about them).
Now the problem ! What I am trying to do is to find a formula that could list the number of employee from the top to the bottom but in a special way: I want to see if there is something in the second column and as long as something is present we just continue listing the employees (their number) but when a cell in the second column is empty, I would like my formula to start back from the top (so from my first employee’s number) while continuing after the blank in the second column. This might seem confusing since I have used the example of smoking for column two but the data are a bit more complex and it was the first example I have found !
I hope my problem is clear and I already thank you for your help !