Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

tricky if formula

Posted on 2014-03-25
7
Medium Priority
?
121 Views
Last Modified: 2014-03-25
Hi experts excel 2007

Need a if formula to do the following..

If a2 has the txt complete then b2 equals todsys date format 01/02/2014 if a2 does not have the txt complete then d2.
0
Comment
Question by:route217
7 Comments
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39952797
txt complete

what do u mean by this?
0
 

Author Comment

by:route217
ID: 39952802
The word complete. .in cell
0
 
LVL 13

Accepted Solution

by:
Santosh Gupta earned 2000 total points
ID: 39952808
try

=IF(A2="Complete",TEXT(TODAY(),"dd/mm/yyyy"),D2)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:route217
ID: 39952815
Hi gupta

Thanks for the formula but I am getting date as 00/01/1900. .
0
 
LVL 8

Expert Comment

by:Naresh Patel
ID: 39952816
I guess I am late in reply... :)  enjoy
0
 

Author Comment

by:route217
ID: 39952818
My fault. .fixed
0
 
LVL 20

Expert Comment

by:clarkscott
ID: 39952822
format column B as date  (mm/dd/yyyy)

In column B:

=if(A2 = "COMPLETE", Now(), D2)

??

Scott C
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question