Forum Discussion
shivom400
Jun 03, 2022Copper Contributor
mysterious bug w/ date formula that is not working
I am trying to recall the end of the month based off a day in a month, however the same formula (and format) is only working in some rows and not in others. Looking for an expert that can help take a look and rectify. Thank you
- Riny_van_EekelenPlatinum Contributor
shivom400 Please show the formula and the context in which you show it.
- shivom400Copper Contributor=IFERROR(EOMONTH(DATE(YEAR(K10),DAY(K10),MONTH(K10)),0),"--")
for this formula the value in k10 is 01/03/2022, where the format is DD/MM/YYYY- shivom400Copper ContributorI'm also using Month() to get the month of 04/03/2022 but it is showing month as 4 despite the date being formatted as DD/MM/2022 and so it should be showing 3