Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Excel formula converted to Crystal 10 Post Reply Post New Topic
Author Message
Shales
Newbie
Newbie


Joined: 17 Jan 2013
Online Status: Offline
Posts: 10
Quote Shales Replybullet Topic: Excel formula converted to Crystal 10
    Posted: 17 Jan 2013 at 1:31am
Hi guys,
 
Really hoping for some help here. I have a formula that I cant workout how to write in Crystal. In my report I currently have this written in a text field hoping that when the report exports to excel it will read that it is a formula and then automatically calculate. Wishful thinking but it didn't work.
 
Please can somebody take a look and see if you can provide me the Crystal Formula so that I can use it in my report;
 
=IF(DATE(YEAR(TODAY()),MONTH(C3),DAY(C3)) < TODAY(),DATE(YEAR(TODAY())+1,MONTH(C3),DAY(C3)),DATE(YEAR(TODAY()),MONTH(C3),DAY(C3)))
 
My date field in Crystal will obviously be where (C3) features in the above formula.
 
Thanks
IP IP Logged
Shales
Newbie
Newbie


Joined: 17 Jan 2013
Online Status: Offline
Posts: 10
Quote Shales Replybullet Posted: 17 Jan 2013 at 2:33am
I have actually worked it out. I used IIF before the formula
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.