Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
I would like to calculate years between two date columns, one is "StartDate" and the other "EndDate".
EndDate has blanks and I would like to use a specific date as blank substitute: "2016-12-31"
I know it is something like: IF( ISBLANK( in combination with DATEDIFF but I can't figure out how to write it.
Thank you!
Solved! Go to Solution.
@Anonymous Try:
Column = IF([EndDate] = BLANK(),DATEDFF([StartDate],DATE(2016,12,31)),DATEDIFF([StartDate],[EndDate]))
@Anonymous Try:
Column = IF([EndDate] = BLANK(),DATEDFF([StartDate],DATE(2016,12,31)),DATEDIFF([StartDate],[EndDate]))
Thank you very much! It worked perfect with interval argument as YEAR.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |