IF statement using dates

BACcampbell

New Member
Joined
Feb 22, 2013
Messages
3
I'm trying to create an IF statement that looks at whether a cell populates a specific month to input a different cells data. I need the cell to look at only the beginning of the date as thats the month.
Heres what I currently have IF(LEFT(I10,1)=1,H10,"")

I10 has my date (cell formatted at date), first character on the left should be 1 for january on this particular cell. If it is January, I want this cell to fill in with the data in cell H10, If it is not January I want the cell to stay blank.

It keeps giving me the false data, instead of the true. I've tried numerous little things. (Adding month In front of Left. Deleting the character reference in left.)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,223,275
Messages
6,171,122
Members
452,381
Latest member
Nova88

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