cancel
Showing results for 
Search instead for 
Did you mean: 

Adding dates in between

Adding dates in between

HI guys, so I have a doubt using multi row formula. I have a data set like below, with missing dates in between. 

2020-01-30

kerala
2020-01-30india
2020-02-02delhi
2020-02-04india

 

This is what I want to do. To add the missing dates in between. the date column is in date data type. Which function will help me to do this? I am looking for the logic. 

2020-01-30kerala
2020-01-30India
2020-02-01India
2020-02-02delhi
2020-02-03delhi
2020-02-04India

 

Thank you.

3 REPLIES 3

Adding dates in between

HI guys, so I have a doubt using multi row formula. I have a data set like below, with missing dates in between. 

2020-01-30

kerala
2020-01-30india
2020-02-02delhi
2020-02-04india

 

This is what I want to do. To add the missing dates in between. the date column is in date data type. Which function will help me to do this? I am looking for the logic. 

2020-01-30kerala
2020-01-30India
2020-02-01India
2020-02-02delhi
2020-02-03delhi
2020-02-04India

 

Thank you.

atcodedog05
22 - Nova

Re: Adding dates in between

Hi @BharathSrivatsa 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1634105643336.png

 

1. Using multi-row formula to check whether the difference between the current row date and next row date is more than 1 based on this setting the next date.

2. Using generate row formula tool to generate missing dates.

 

Hope this helps : )

Attachment
Download this attachment
Sebastiaandb
Quasar

Re: Adding dates in between

@BharathSrivatsa 

 

Here you go!

Sebastiaandb_0-1634105933782.png

 

Hope it helps you out :-)!

 

 

Attachment
Download this attachment
Sebastiaandb
Quasar

Re: Adding dates in between

@atcodedog05 Your solution is more efficient