Adam Masters Posted July 9, 2020 Posted July 9, 2020 I want to create a formula that takes information from 2 fields and displays the answer in a 3rd for example if field A is 10 and field B is 10 display A in the 3rd field thanks Adam
comment Posted July 9, 2020 Posted July 9, 2020 17 minutes ago, Adam Masters said: if field A is 10 and field B is 10 display A in the 3rd field I am afraid the logic of your example escapes me. And what does this have to with Server Administration?
Ocean West Posted July 9, 2020 Posted July 9, 2020 FieldC: Case ( FieldA = FieldB ; "A" ; "B" ) This will display "A" in field C if the two fields are equal but if you have more logic such as ranges or > or < that may take a bit further explanation of what your after... (PS moved topic to this forum) also this is a good read https://fmforums.com/guidelines/
Adam Masters Posted July 9, 2020 Author Posted July 9, 2020 Thank you I have looked at that but what I want to do is Field A = 10 and B = 10 Display A but then if A=20 B=20 display B and A=30 B=20 Display C and so on thanks Adam
comment Posted July 9, 2020 Posted July 9, 2020 Instead of (or in addition to) giving examples, explain the rule that needs to applied here. I, for one, cannot see the logic that would explain the results you show.
Ocean West Posted July 9, 2020 Posted July 9, 2020 Field A Field B Field C 10 10 A 20 20 B 30 20 ? I am not seeing a progression that can be handled by math to arrive at result. More detail is needed.
Adam Masters Posted July 9, 2020 Author Posted July 9, 2020 there is a table I am working off so field c will have to be data that I enter
Adam Masters Posted July 9, 2020 Author Posted July 9, 2020 ok read the sheet you sent me so will try and explain a bit better I would like to enter a number value in field a and a number value in field B then pending on the answer a predetermined letter will be shown in field C Field A number from drop down list Field B number from drop down list Field C will take the results for fields A and B the display a letter which is predetermined for the result
Ocean West Posted July 9, 2020 Posted July 9, 2020 In this case if you have a table of A & B and C and all the logic is arbitrary then as users select A & B the value C would be looked up or auto enter calc - no math. you would related this library table with multi predicates on Field A & Field B. Lookup.fmp12 Sample file.
Adam Masters Posted July 11, 2020 Author Posted July 11, 2020 I've got that I should be able to work the rest out
Recommended Posts
This topic is 1725 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 accountSign in
Already have an account? Sign in here.
Sign In Now