Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Date compared to today

I have a worksheet with two columns (Appraisal Status and Appraisal Due Date.
Both columns are filled with data from a separate worksheet using the
VLOOKUP command. I have a thirdcolumn where I wish to put a YES if the
Appraisal status is NOT equal to "Completed" AND the date in the Appraisal
Due Date is less than todays date. ALl I can get is NO responses. for every
situation. Can you help?


A1 B1 C1
Completed need NO response
Registered 11/27/2008 need YES response
Registered 05/30/2009 need NO response

=IF(AND(A1<"Completed",B1<TODAY()),"YES","NO")





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Date compared to today

Hi,

The formula seems correct. IT looks like the entries in column B are non
dates. Please use the isnumber() formula on column B to check if the
entries there are dates or not.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"BethD" wrote in message
...
I have a worksheet with two columns (Appraisal Status and Appraisal Due
Date.
Both columns are filled with data from a separate worksheet using the
VLOOKUP command. I have a thirdcolumn where I wish to put a YES if the
Appraisal status is NOT equal to "Completed" AND the date in the Appraisal
Due Date is less than todays date. ALl I can get is NO responses. for
every
situation. Can you help?


A1 B1 C1
Completed need NO response
Registered 11/27/2008 need YES response
Registered 05/30/2009 need NO response

=IF(AND(A1<"Completed",B1<TODAY()),"YES","NO")





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date compared to today

If the entries in column B are text values, then you could amend your
formula like this:

=IF(AND(A1<"Completed",--B1<TODAY(),B1<""),"YES","NO")

Hope this helps.

Pete

On Mar 20, 1:11*am, "Ashish Mathur" wrote:
Hi,

The formula seems correct. *IT looks like the entries in column B are non
dates. *Please use the isnumber() formula on column B to check if the
entries there are dates or not.

--
Regards,

Ashish Mathur
Microsoft Excel MVPwww.ashishmathur.com

"BethD" wrote in message

...



I have a worksheet with two columns (Appraisal Status and Appraisal Due
Date.
Both columns are filled with data from a separate worksheet using the
VLOOKUP command. *I have a thirdcolumn where I wish to put a YES if the
Appraisal status is NOT equal to "Completed" AND the date in the Appraisal
Due Date is less than todays date. *ALl I can get is NO responses. for
every
situation. *Can you help?


A1 * * * * * * * * * * * *B1 * * * * * * * * * * * * *C1
Completed * * * * * * * * * * * * * * * * *need NO response
Registered * * * * * *11/27/2008 * * *need YES response
Registered * * * * * *05/30/2009 * * *need NO response


=IF(AND(A1<"Completed",B1<TODAY()),"YES","NO")- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Date compared to today

This worked perfectly. Thank you. I'm not sure who everyone is that uses
help others in these discussion groups, but each time my "professor's afar"
have helped me out. Thank you again. Beth

"Pete_UK" wrote:

If the entries in column B are text values, then you could amend your
formula like this:

=IF(AND(A1<"Completed",--B1<TODAY(),B1<""),"YES","NO")

Hope this helps.

Pete

On Mar 20, 1:11 am, "Ashish Mathur" wrote:
Hi,

The formula seems correct. IT looks like the entries in column B are non
dates. Please use the isnumber() formula on column B to check if the
entries there are dates or not.

--
Regards,

Ashish Mathur
Microsoft Excel MVPwww.ashishmathur.com

"BethD" wrote in message

...



I have a worksheet with two columns (Appraisal Status and Appraisal Due
Date.
Both columns are filled with data from a separate worksheet using the
VLOOKUP command. I have a thirdcolumn where I wish to put a YES if the
Appraisal status is NOT equal to "Completed" AND the date in the Appraisal
Due Date is less than todays date. ALl I can get is NO responses. for
every
situation. Can you help?


A1 B1 C1
Completed need NO response
Registered 11/27/2008 need YES response
Registered 05/30/2009 need NO response


=IF(AND(A1<"Completed",B1<TODAY()),"YES","NO")- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date compared to today

You're welcome, Beth - thanks for feeding back.

Pete

On Mar 23, 4:16*pm, BethD wrote:
This worked perfectly. *Thank you. *I'm not sure who everyone is that uses
help others in these discussion groups, but each time my "professor's afar"
have helped me out. *Thank you again. *Beth



"Pete_UK" wrote:
If the entries in column B are text values, then you could amend your
formula like this:


=IF(AND(A1<"Completed",--B1<TODAY(),B1<""),"YES","NO")


Hope this helps.


Pete


On Mar 20, 1:11 am, "Ashish Mathur" wrote:
Hi,


The formula seems correct. *IT looks like the entries in column B are non
dates. *Please use the isnumber() formula on column B to check if the
entries there are dates or not.


--
Regards,


Ashish Mathur
Microsoft Excel MVPwww.ashishmathur.com


"BethD" wrote in message


...


I have a worksheet with two columns (Appraisal Status and Appraisal Due
Date.
Both columns are filled with data from a separate worksheet using the
VLOOKUP command. *I have a thirdcolumn where I wish to put a YES if the
Appraisal status is NOT equal to "Completed" AND the date in the Appraisal
Due Date is less than todays date. *ALl I can get is NO responses.. for
every
situation. *Can you help?


A1 * * * * * * * * * * * *B1 * * * * * * * * * * * * *C1
Completed * * * * * * * * * * * * * * * * *need NO response
Registered * * * * * *11/27/2008 * * *need YES response
Registered * * * * * *05/30/2009 * * *need NO response


=IF(AND(A1<"Completed",B1<TODAY()),"YES","NO")- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -




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
Sumif....date in table is greater than compared to date [email protected] Excel Discussion (Misc queries) 1 September 13th 08 05:44 PM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
MAX figure within a date range as a function of today()'s date irvine79 Excel Worksheet Functions 6 February 20th 07 03:28 PM
SUMIF within date range as a function of today()'s date irvine79 Excel Worksheet Functions 8 August 6th 06 05:55 PM
Date : =today() Tony Guzzo Excel Worksheet Functions 4 June 11th 06 02:35 PM


All times are GMT +1. The time now is 11:08 AM.

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

About Us

"It's about Microsoft Excel"