?
Solved

Formula Error

Posted on 2014-08-05
5
Medium Priority
?
164 Views
Last Modified: 2014-08-05
Could you please advise what is wrong with this:
 if {@NextDate01} or {@NextDate02} or {@NextDate03} in Date (2014,01,01 ) to  Date (2014,01,31 ) then result = "January 2014"
0
Comment
Question by:GiaHughes
  • 3
  • 2
5 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 40240949
I would try:

if {@NextDate01} in Date (2014,01,01 ) to  Date (2014,01,31 )
or {@NextDate02} in Date (2014,01,01 ) to  Date (2014,01,31 )
or {@NextDate03} in Date (2014,01,01 ) to  Date (2014,01,31 ) then result = "January 2014"
0
 

Author Comment

by:GiaHughes
ID: 40240952
if i modify the formula to
 if ({@NextDate01}) in Date (2014,01,01 ) to  Date (2014,01,31 ) then "January 2014"

it works, but I would like the formula to look at several values
ie:-
  if ({@NextDate01} or {@NextDate02}) in Date (2014,01,01 ) to  Date (2014,01,31 ) then "January 2014"
but it says it requies a boolean
Any ideas, can it be done?
Gordon
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 40240955
have you tried my last comment?
0
 

Author Comment

by:GiaHughes
ID: 40240974
Hi Eric

Yes I did and have awarded you the points
Gordon
0
 

Author Closing Comment

by:GiaHughes
ID: 40240975
Very good
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month16 days, 1 hour left to enroll

850 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