Hi Team,
I have a situation where i need to create an indicator based on the blanks. For e.g below if i have one blank consecutive then the indicator should be 1 year, if two blanks consecutive then 2 years etc.. i have marked in yellow.
Please let me know how to go about this
thanks,
Sri
ID | 2016 | 2017 | 2018 | 2019 | 2020 | indicator |
111 | 33 | 33 | 33 | 33 | 1 year | |
112 | 333 | 333 | 33 | 2 year | ||
222 | 222 | 3 year | ||||
333 | 33 | 4 year | ||||
444 | 33 | 33 | 33 | 33 | 33 | Regular |
555 | 33 | 33 | 33 | Regular |
Solved! Go to Solution.
Hi @sriniprad08
See one potential solution below,
Though I'm not sure what defines the indicator to be Regular for IDs 444 and 555...?
Thanks,
Phil
Thank you for the quick reply. Really appreciate that. However i have edited my question not sure if you have seen that. the criteria is "regular" because there are no blanks.
ID | 2016 | 2017 | 2018 | 2019 | 2020 | indicator |
111 | 33 | 33 | 33 | 33 | 1 year | |
112 | 333 | 333 | 33 | 2 year | ||
222 | 222 | 3 year | ||||
333 | 33 | 4 year | ||||
444 | 33 | 33 | 33 | 33 | 33 | Regular |
555 | 33 | 33 | 33 | Regular |
Hey @sriniprad08 Check my most recent reply (apart from this one..) also. Should have solved for this.
Hi @sriniprad08
Here is a workflow for the task.
Output:
Workflow:
Hope this helps 🙂 Feel to ask if you have any questions
If this post helps you please mark it as solution. And give a like if you dont mind 😀👍
Guess i got stalled and ended being late 😅