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
Hi,
I want to create a custom date column with displays 15th of every month and the end of the month based on a date column.
Any day less than or equal to 15th should display 15th and any day less than or equal to the End of the month should display end of month.
For example-->
Given Date Output Date
10/9/2022 10/15/2022
10/11/2022 10/15/2022
10/17/2022 10/31/2022
10/20/2022 10/31/2022
11/7/2022 11/15/2022
11/17/2022 11/30/2022
Solved! Go to Solution.
please try this
Supposing your table named Data, try to add a new column with the code below:
Output Date =
IF(
DAY(Data[Given Date])<=15,
DATE(YEAE(Data[Given Date]), MONTH(Data[Given Date]),15),
ENDOFMONTH(Data[Given Date])
)
Hi by using this formula I get all the dates with 15. But the endofmonth returns the same date as in the given column.
please try this
User | Count |
---|---|
13 | |
8 | |
8 | |
7 | |
5 |
User | Count |
---|---|
21 | |
15 | |
15 | |
10 | |
7 |