Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7178 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

Is it possible to have a calculation that looks at several fields to determine a answer such as:

Field 1= Artwork

Field 2 = Stereos

Field 3 = Premount

Field 4 is the calculation.

Each has a pull down menu of "Yes" or "No"

What I would like is if:

Artwork = Yes

Stereos = Yes

Premount =Yes

the answer to be " Artwork-Stereos-Premount "

Artwork = Yes

Stereos = No

Premount = No

the answer to be " Artwork Only "

Artwork = No

Stereos = Yes

Premount =No

the answer to be " Stereos Only "

and so on.

Any ideas

Posted

Substitute(Trimall

(Case(Artwork="yes";"Artwork ";"")&

Case(Stereos="yes";" Stereos ";"")&

Case(Premount="yes";" Premount";"");1;1);" ";"-")

Or:

Let([

words=Case(artwork="yes";"Artwork ";"")&

Case(stereos="yes";" Stereos ";"")&

Case(premount="yes";" Premount";"");

Only=Case(WordCount(words)<3;" only";"")];

Substitute(TrimAll

(words;1;1);" ";"-")&Only)

Posted

Enders first calc should do it ...when finished !!

However would I approch such a matter this way:

Choose (

Case ( PatternCount ( Artwork ; "yes" ) ; 4) +

Case ( PatternCount ( Stereos ; "yes" ) ; 2) +

PatternCount ( Premount ; "yes" );

"";

"Premount Only";

"Stereos Only";

"Stereos - Premount";

"Artwork Only";

"Artwork - Premount";

"Artwork - Stereos";

"Artwork - Stereos - Premount")

--sd

This topic is 7178 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.