creating custom month range instead of 1-30 need it as 26-25

for example, if we use the Text function to retrieve a month from a date. it will show the value as per 1-30 but what if we want our month to start from 26th to the 25th of next month and count this a 1 month. but using the text function will retrieve the value as per 1-30.