Underlying formula might be causing a problem with testing of =Today()

jgold20

Board Regular
Joined
Feb 4, 2018
Messages
135
In cell Z6 I have the following formula =IFERROR(INDEX(Input_Events,data!K3,2),"") that returns a formatted date (MM/DD). In cell AC6, I am performing the following test:

=IF(Z6=TODAY(),"CALL","")

When I have the current date (todays) in Z6, it returns a false test ("").

If I change the formula to <, it returns a true test (CALL)

Any help would be greatly appreciated
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi

This means that you don't have the current date in Z6.

Check their values

In a cell use: =TODAY()
In another: =Z6

Format these 2 cells as general and check their values.
 
Upvote 0
Does =ISNUMBER(J6) return TRUE or FALSE?
 
Upvote 0
Thank you. Yes the dates are different, however, the formula in Z6 is displaying right now 2/2 when formatted as a date.
 
Upvote 0
Thank you. Yes the dates are different, however, the formula in Z6 is displaying right now 2/2 when formatted as a date.

What does
=IF(INT(Z6)=TODAY(),"CALL","")
return?

If it doesn't work please post the values that were returned when you formatted the cells as General.
 
Upvote 0
The year value being picked up from a different sheet was with the underlying formula was 2012. I have rectified the problem.

Everyone, thank you
 
Upvote 0

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

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