Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Are Excel "if" statements within project possible?

Status
Not open for further replies.

Toddie

Automotive
Aug 4, 2005
2
In the edit formula field of the customize fields area i'm trying to replicate the following Excel formula:-

=if(cellref1>cellref2,"true","False")

However althought i can write the formula in project,no text appears in the selected cell if the expression is correct or otherwise.

I've removed the "" and tried again, but i'm not even sure if its possible!

Am I wasting my time?



 
Replies continue below

Recommended for you

Just in case anyone else tries to do this i've sorted it!

So to run three levels of warning as an if statment the trick is to change the columns to "date1" &"date2" etc and then have the answer field as "number1".

then apply:-

IIf([Date2]=[Current Date],1,IIf([Date2]=([Current Date]+1),3,IIf([Date2]=([Current Date]+2),3,IIf([Date2]=([Current Date]+3),3,IIf([Date2]=([Current Date]+4),3,IIf([Date2]=([Current Date]+5),3,IIf([Date2]<[Current Date],2,0)))))))

And it then works!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor