Function IF > do not work perfectly ?
-
Hi,
I am creating a form but the function IF does not work well…
I create 3 fields here : https://testform.apps-1and1.net/ :
1. Type de logement (in BO, corresponding to “fieldname43” with the values 1, 2, 3)
2. Nombre de places (in BO, corresponding to “fieldname43” with values 1, 2, 3, 4)
3. GainIn BO, for “Gain” field, I put this formula : (it is work on Excel. here )
IF((AND(fieldname43=1,fieldname45=1)),"196",IF((AND(fieldname43=1,fieldname45=2)),"331",IF((AND(fieldname43=1,fieldname45=3)),"557",IF((AND(fieldname43=1,fieldname45=4)),"938",IF((AND(fieldname43=2,fieldname45=1)),"177",IF((AND(fieldname43=2,fieldname45=2)),"263",IF((AND(fieldname43=2,fieldname45=3)),"391",IF((AND(fieldname43=2,fieldname45=4)),"581",IF((AND(fieldname43=3,fieldname45=1)),"158",IF((AND(fieldname43=3,fieldname45=2)),"204",IF((AND(fieldname43=3,fieldname45=3)),"262",IF((AND(fieldname43=3,fieldname45=4)),"317"))))))))))))
I tried in remplacing the value “1”, “2”, … to the text. I tried to create another field to simplify such as a field to multiple “fieldname43” and “fieldname45″ (with others values) in order to have a simple function IF like IF(fieldname47=360,”196”,IF(fieldname47=…)
Nothing to work..
Thanks for your help
- The topic ‘Function IF > do not work perfectly ?’ is closed to new replies.