Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Susan Hayes
 
Posts: n/a
Default how do I write the date in an if statement

Hello I'm trying to write the date (eg., 21-Mar-05, or any other variation), using contatination within an if statement

Here is a sample

=IF(A1="scenario1","(2) enter the correct post dated process date in the ""PROC"" field"&" "&"c2","")

where "c2" would contain the date,

would appear as shown below:

(2) enter the correct post dated process date in the "PROC" field 21-Mar-05

Is this possible?

Thank you

Susan
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this:

=IF(A1="scenario1","(2) enter the correct post dated process date in the
""PROC"" field "&TEXT(C2,"dd-mm-yy"),"")

Biff

"Susan Hayes" wrote in message
...
Hello I'm trying to write the date (eg., 21-Mar-05, or any other
variation), using contatination within an if statement

Here is a sample

=IF(A1="scenario1","(2) enter the correct post dated process date in the
""PROC"" field"&" "&"c2","")

where "c2" would contain the date,

would appear as shown below:

(2) enter the correct post dated process date in the "PROC" field
21-Mar-05

Is this possible?

Thank you

Susan



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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
How do I get an IF statement to pull a date range?? Brooke Medvecky Excel Worksheet Functions 9 April 19th 06 08:48 PM
If statement with date Tanya Excel Discussion (Misc queries) 4 May 20th 05 01:42 AM
Using date function in an if statement M Smith Excel Worksheet Functions 2 March 30th 05 06:53 PM
Date in an IF statement LyndieBee Excel Worksheet Functions 2 March 8th 05 04:11 PM


All times are GMT +1. The time now is 05:34 PM.

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"