Formula true/false if a date occurs this year

rcp

New Member
Joined
Dec 3, 2020
Messages
16
Office Version
  1. 2019
Platform
  1. MacOS
Hi,

I am making a finance spreadsheet that will have rows 10 years into the future but will only need this year's data at any one time. I'm looking a true/false formula for if a date occurs within this year to allow me to filter out all the false responses. Column A is my date entry, I'm doing one row per month and the format style is January 2020 (but Date & Time data format).

I thought it should be relatively simple: IF(A2=YEAR(TODAY()),1,0) but that doesn't seem to be working. Can anyone see where I'm going wrong?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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