ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF date formula (https://www.excelbanter.com/excel-worksheet-functions/239341-if-date-formula.html)

Tia[_3_]

IF date formula
 
HELLO

I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


Ron Rosenfeld

IF date formula
 
On Mon, 10 Aug 2009 04:16:07 -0700 (PDT), Tia wrote:

HELLO

I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


You don't write what you want to happen if NONE of those cells are equal to
today's date. But this should get you started:


=IF(OR(B12:AL12=TODAY()),"Yes")

This formula must be **array-entered**:

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. If you did this
correctly, Excel will place braces {...} around the formula.
--ron

Tia[_3_]

IF date formula
 
On Aug 10, 3:39*pm, Ron Rosenfeld wrote:
On Mon, 10 Aug 2009 04:16:07 -0700 (PDT), Tia wrote:
HELLO


I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


You don't write what you want to happen if NONE of those cells are equal to
today's date. *But this should get you started:

=IF(OR(B12:AL12=TODAY()),"Yes")

This formula must be **array-entered**:

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. *If you did this
correctly, Excel will place braces {...} around the formula.
--ron


Thank you very much its is woking like a sharm but whenever i am
putting it in a row that contains a #NUM! its is giving me num even if
there is todays date
ANY IDEAS ?

Domenic[_2_]

IF date formula
 
Try...

=IF(ISNUMBER(MATCH(TODAY(),B12:AL12,0)),"Yes","")

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions

In article
,
Tia wrote:

On Aug 10, 3:39*pm, Ron Rosenfeld wrote:
On Mon, 10 Aug 2009 04:16:07 -0700 (PDT), Tia
wrote:
HELLO


I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


You don't write what you want to happen if NONE of those cells are equal to
today's date. *But this should get you started:

=IF(OR(B12:AL12=TODAY()),"Yes")

This formula must be **array-entered**:

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. *If you did this
correctly, Excel will place braces {...} around the formula.
--ron


Thank you very much its is woking like a sharm but whenever i am
putting it in a row that contains a #NUM! its is giving me num even if
there is todays date
ANY IDEAS ?


Rick Rothstein

IF date formula
 
Does this work for you...

=IF(COUNTIF(B12:AL12,TODAY()),"Yes","No")

--
Rick (MVP - Excel)


"Tia" wrote in message
...
On Aug 10, 3:39 pm, Ron Rosenfeld wrote:
On Mon, 10 Aug 2009 04:16:07 -0700 (PDT), Tia
wrote:
HELLO


I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


You don't write what you want to happen if NONE of those cells are equal
to
today's date. But this should get you started:

=IF(OR(B12:AL12=TODAY()),"Yes")

This formula must be **array-entered**:

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. If you did this
correctly, Excel will place braces {...} around the formula.
--ron


Thank you very much its is woking like a sharm but whenever i am
putting it in a row that contains a #NUM! its is giving me num even if
there is todays date
ANY IDEAS ?


Ron Rosenfeld

IF date formula
 
On Mon, 10 Aug 2009 04:48:01 -0700 (PDT), Tia wrote:

On Aug 10, 3:39*pm, Ron Rosenfeld wrote:
On Mon, 10 Aug 2009 04:16:07 -0700 (PDT), Tia wrote:
HELLO


I am looking for a if formula that shows yes one of B12: AL12 equal to
todays date


You don't write what you want to happen if NONE of those cells are equal to
today's date. *But this should get you started:

=IF(OR(B12:AL12=TODAY()),"Yes")

This formula must be **array-entered**:

----------------------------------------

To **array-enter** a formula, after entering
the formula into the cell or formula bar, hold down
<ctrl<shift while hitting <enter. *If you did this
correctly, Excel will place braces {...} around the formula.
--ron


Thank you very much its is woking like a sharm but whenever i am
putting it in a row that contains a #NUM! its is giving me num even if
there is todays date
ANY IDEAS ?


Use Rick's suggestion:

=IF(COUNTIF(B12:AL12,TODAY()),"Yes","No")
--ron


All times are GMT +1. The time now is 09:53 PM.

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