Evaluate date range and return the corresponding month and year

klitton7

New Member
Joined
Jul 24, 2024
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
I have a column of dates like those shown below. I would like a formula that would evaluate the information and determine what month and year the date range is in.
The date range will always be in the same month/year. Thank you!

06/12/2024 - 06/16/2024 --> Jun-2024
06/12/2024 - 06/30/2024 --> Jun-2024
07/01/2024 - 07/01/2024 --> Jul-2024
07/03/2024 - 07/15/2024 --> Jul-2024
08/01/2024 - 08/10/2024 --> Aug-2024
08/05/2024 - 08/05/2024 --> Aug-2024
 

Attachments

  • Screenshot 2024-09-18 162750.png
    Screenshot 2024-09-18 162750.png
    16.3 KB · Views: 2

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,221,527
Messages
6,160,342
Members
451,638
Latest member
MyFlower

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