#1   Report Post  
Kate@AF
 
Posts: n/a
Default Formula

Hi,

Can you help me here? - I would like to create a formula that automatically
enters either the word "expired" or the word "current" into a column, when it
looks up the date in another column. I would like this column to
automatically tell me whether that row is current or expired, based on the
other column's date. If the date in the column is passed then my new column
should say "expired", and if it is in the future then my new column should
say "current".

I hope this is clear.

Thankyou
Kate
  #2   Report Post  
BenjieLop
 
Posts: n/a
Default


Kate@AF Wrote:
Hi,

Can you help me here? - I would like to create a formula that
automatically
enters either the word "expired" or the word "current" into a column,
when it
looks up the date in another column. I would like this column to
automatically tell me whether that row is current or expired, based on
the
other column's date. If the date in the column is passed then my new
column
should say "expired", and if it is in the future then my new column
should
say "current".

I hope this is clear.

Thankyou
Kate


ASSUME that your dates are in the following cells:

A1 -- date that you want to compare with a date in another column
B1 -- this is the "date that is in the other column"


Your formula will be

=IF(A1B1,\"CURRENT\",\"EXPIRED\")

Hope this is what you need.


Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=470951

  #3   Report Post  
Rowan
 
Posts: n/a
Default

Hi Kate

Assuming your dates are in column A, in B2 enter the formula:
=IF(A2<TODAY(),"Expired","Current")
and copy down.
Note this formula is volatile i.e it will recalculate every time any
change is made to the workbook as well as when the book is opened and
closed.

Hope this helps
Rowan

Kate@AF wrote:
Hi,

Can you help me here? - I would like to create a formula that automatically
enters either the word "expired" or the word "current" into a column, when it
looks up the date in another column. I would like this column to
automatically tell me whether that row is current or expired, based on the
other column's date. If the date in the column is passed then my new column
should say "expired", and if it is in the future then my new column should
say "current".

I hope this is clear.

Thankyou
Kate

  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Kate,

For dates in column A, starting in cell A2, for example, enter this into B2

=IF(NOW()A2,"Expired","Current")

HTH,
Bernie
MS Excel MVP


"Kate@AF" wrote in message
...
Hi,

Can you help me here? - I would like to create a formula that
automatically
enters either the word "expired" or the word "current" into a column, when
it
looks up the date in another column. I would like this column to
automatically tell me whether that row is current or expired, based on the
other column's date. If the date in the column is passed then my new
column
should say "expired", and if it is in the future then my new column should
say "current".

I hope this is clear.

Thankyou
Kate



  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Kate

=IF(cellref=TODAY(),"current","expired")

cellref is the cell wherein the date is entered.


Gord Dibben Excel MVP


On Mon, 26 Sep 2005 16:02:02 -0700, "Kate@AF"
wrote:

Hi,

Can you help me here? - I would like to create a formula that automatically
enters either the word "expired" or the word "current" into a column, when it
looks up the date in another column. I would like this column to
automatically tell me whether that row is current or expired, based on the
other column's date. If the date in the column is passed then my new column
should say "expired", and if it is in the future then my new column should
say "current".

I hope this is clear.

Thankyou
Kate


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
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 02:54 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"