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 6066 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Greetings,

I have three (Number) fields: Field1, Field2, Field3 that track Cost.

I am looking for a calculation that will accomplish this logic.

If there is no value in Field3, Field2.

If there is no value in Field3 or Field2, Field1.

Any suggestions would be greatly appreciated.

Thanks in advance.

Edited by Guest
Posted

Case ( IsEmpty ( Field2 ) AND IsEmpty ( Field3 ), Field1, IsEmpty ( Field3 ), Field 2 ) )

What about when there is something in Field 3 but not 2?

Posted

There will always be something in field2. There has to be something in field2 before field3 can occur.

Thanks for the feedback, much appreciated, I will implement this into my system.

Thanks again.

Posted (edited)

Greetings,

I have three (Number) fields: Field1, Field2, Field3 that track Cost.

I am looking for a calculation result that will take the ladder of these 3 arguments:

If Field1 has a value,1

If Field2 has a value,2

If Field3 has a value,3

Meaning, if there is a value in field1, field1. If there is a value in field1 and field2, field2. I there is a value in field1,field2 and field3, field3.

Note: If there is a value in field3, there will always be info in field1 and field2. If there is a value in field2, there will always be a value in field1.

I apologize for posting a similar question last week, my requirements have changed.

Thank you kindly.

Edited by Guest
Posted

There's probably a more fun and elegant solution, but here:


Case(

  Field3 ; 3 ; 

  Field2 ; 2 ; 

  Field1 ; 1 )

Oh, if you're in FM6 use commas instead of semicolons.

Posted

I apologize for posting a similar question last week, my requirements have changed.

I merged your two topics, and sent you a Private Topic to explain why.

Lee

This topic is 6066 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.