If Less than or Equal or for Date is give me wrong results

zunaib

New Member
Joined
Jul 22, 2015
Messages
6
I have a tab in Excel named Admin Input. In Cell B5 I have a date 12/31/2015

[TABLE="width: 295"]
<tbody>[TR]
[TD]Begin Date of Fiscal Year[/TD]
[TD="align: right"]7/1/2015[/TD]
[/TR]
[TR]
[TD]End Date of Base Period[/TD]
[TD="align: right"]12/31/2015[/TD]
[/TR]
[TR]
[TD]2 Years Ago FY[/TD]
[TD="align: right"]2014[/TD]
[/TR]
[TR]
[TD]Last FY[/TD]
[TD="align: right"]2015[/TD]
[/TR]
[TR]
[TD]Current FY[/TD]
[TD="align: right"]2016[/TD]
[/TR]
[TR]
[TD]Budget FY[/TD]
[TD="align: right"]2017[/TD]
[/TR]
</tbody>[/TABLE]


I have another tab on the same file named as Input

In Column F it's showing the people's start date as below:

Now in Column L I have the below formula:

=IF(F14<='Admin Input'!$B$5, "Estalished", "New")


[TABLE="width: 108"]
<tbody>[TR]
[TD]11/27/1989[/TD]
[/TR]
[TR]
[TD]07/07/1980[/TD]
[/TR]
[TR]
[TD]Not In HR Cube[/TD]
[/TR]
[TR]
[TD]03/10/2014[/TD]
[/TR]
[TR]
[TD]Not In HR Cube[/TD]
[/TR]
[TR]
[TD]07/01/2009[/TD]
[/TR]
[TR]
[TD]10/28/2013[/TD]
[/TR]
[TR]
[TD]07/01/2007[/TD]
[/TR]
[TR]
[TD]Not In HR Cube[/TD]
[/TR]
[TR]
[TD]07/01/1989[/TD]
[/TR]
[TR]
[TD]07/01/1977[/TD]
[/TR]
</tbody>[/TABLE]


Now in Column L I have the below formula:

=IF(F14<='Admin Input'!$B$5, "Established", "New")


So it should technically bring "Established" for all the rows but is's bringing "New"


Pleas help


Thanks,

Z
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Thank You Marcel. Actually when I refreshed the excel it gave me the correct results. Yes the formatting was the first thing I checked, still it was giving me the same wrong results. But I appreciate you responding
 
Upvote 0

Forum statistics

Threads
1,226,730
Messages
6,192,702
Members
453,748
Latest member
akhtarf3

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