#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default IF date formula

HELLO

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default 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
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default 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 ?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default 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 ?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default 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 ?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default 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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula to look at current date and markdown date to give price veena Excel Discussion (Misc queries) 4 November 13th 08 07:40 PM
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"