ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   TODAY() in an IF AND function (https://www.excelbanter.com/excel-discussion-misc-queries/261158-today-if-function.html)

Jennifer E

TODAY() in an IF AND function
 
Hi,

I'm trying to create an IF AND Today() function. The difficulties I'm
having with this is that when I enter the TODAY() portion of the function the
result is the either the units that have scheduled a date, but the date is
both before and after TODAY(), or it's the units that have not scheduled a
date. I cannot get the result of the dates that have already occurred or
are equal to TODAY().

My current formula is:

=IF(AND($C13=$B$13,$BV13TODAY()),$CJ13,"")

Thanks so much:)

Jennifer

TomPl

TODAY() in an IF AND function
 
$BV13TODAY() limits the results to only the values in column CJ that have a
future date in column BV. What exactly do you want?

Tom





"Jennifer E" wrote:

Hi,

I'm trying to create an IF AND Today() function. The difficulties I'm
having with this is that when I enter the TODAY() portion of the function the
result is the either the units that have scheduled a date, but the date is
both before and after TODAY(), or it's the units that have not scheduled a
date. I cannot get the result of the dates that have already occurred or
are equal to TODAY().

My current formula is:

=IF(AND($C13=$B$13,$BV13TODAY()),$CJ13,"")

Thanks so much:)

Jennifer


TomPl

TODAY() in an IF AND function
 
If what you want is to return a value only if column C = column E and a date
(any date) has been entered into column BV, then this formula might work for
you:
=IF(AND($C13=$B$13,isnumber($BV13)),$CJ13,"")
or
=IF(AND($C13=$B13,isnumber($BV13)),$CJ13,"")

Tom


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com