Hello there!
I'm trying to make a spreadsheet that would automatically populate a cancellation effective date. If a product is cancelled on the 10th day of the month or less, than the cancellation effective date should be the last day of the current month. If the cancellation is greater than the 10th, the cancellation effective date should be the last day of the following month.
For example:
Product cancellation was received on the 1/9/2018, cancellation effective date 1/31/2017
Product cancellation received on 1/11/2018, cancellation effective date 2/28/2018
I had previously searched for an answer and found a fomula that will give me the end of of the current month but I can't figure out how to add into the equation a date for the following month.
=IF(DAY(E4)<=10,DATE(YEAR(E4),MONTH(E4),30),DATE(YEAR(E4),MONTH(E4)+1,0))
Your help is much appreciated!
I'm trying to make a spreadsheet that would automatically populate a cancellation effective date. If a product is cancelled on the 10th day of the month or less, than the cancellation effective date should be the last day of the current month. If the cancellation is greater than the 10th, the cancellation effective date should be the last day of the following month.
For example:
Product cancellation was received on the 1/9/2018, cancellation effective date 1/31/2017
Product cancellation received on 1/11/2018, cancellation effective date 2/28/2018
I had previously searched for an answer and found a fomula that will give me the end of of the current month but I can't figure out how to add into the equation a date for the following month.
=IF(DAY(E4)<=10,DATE(YEAR(E4),MONTH(E4),30),DATE(YEAR(E4),MONTH(E4)+1,0))
Your help is much appreciated!