how calculate remaining days based on same days for each month

Ali M

Active Member
Joined
Oct 10, 2021
Messages
287
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Hello
I want showin result in B2 gives me how remains days based on day 28/mm/yyyy . the day (28) is the same thing for each month .
for instance if date(today) is 14/09/2022 when calculate for date 28/09/2022 then the result in B2 should be 14 days remaining
thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
If Today was the 29th why would you get 14 days?
just give you example basd on OP
another examples
date today(13/09/2022) & finishing ( 28/09/2022 ) then result will be 15 days remaining and if date today(13/09/2022) & finishing ( 29/09/2022 then result will be 15 days remaining
date today(12/09/2022) & finishing ( 28/09/2022 ) then result will be 16 days remaining and if date today(13/09/2022) & finishing (30/09/2022 then result will be 16 days remaining as you see if the days(29,30,31) should keep the result up to 28/09/2022 even the finishing day for 29 ,30,31 . in the most important the ending of day should be up to 28. all of cases show the result even if past 28 .
 
Upvote 0
But if you the number of days from today until the 28th, what happens when today if AFTER the 28th? ie date today(30/09/2022) date finishing (28/09/2022)
 
Upvote 0
sorry F luff ! I no know why ask all of theses questions , but you answered me . based on your formula is logical . yes should be empty
just calculate from 1 -28 for each month .
many thanks for your time and help :)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,028
Messages
6,122,749
Members
449,094
Latest member
dsharae57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top