MONTH

689touch

New Member
Joined
Jun 29, 2007
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,

I am working on a spreadsheet someone else has designed and seen the following as part of a formula:

IF(MONTH(F$48 & 1) >= $C283

Where F48 contains the word January

And C283 contains the number 1

Could someone please explain this. THANK YOU!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
The quick answer is the formula is testing if the Month text in F48 is >= to the numeric month in C283. It converts the January text into a month-number to compare it to the C283 number.

F$48 & 1 converts the January text into a Date (the 1st of the month) that Excel can recognize as a date and not just text. The MONTH function then converts that Date into a month number (1 to 12) to then compare to the number in C283.
 
Upvote 0
Solution
Thank you so much for the solution and for explaining it so well. THANK YOU!!
 
Upvote 0

Forum statistics

Threads
1,221,519
Messages
6,160,294
Members
451,636
Latest member
ddweller151

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