Skip to main content
Solved

Trouble with IF

  • October 31, 2023
  • 2 replies
  • 29 views

Forum|alt.badge.img+4

What is wrong with this IF statement?  

IF({Sonrise Home} = "CH", "Sonrise Children's Home"), IF({Sonrise Home} = "MIR", "Mirembe Cottage for Girls"))

"Sorry, there was a problem saving this field. Invalid formula. Please check your formula text."

 

 

Best answer by BillH

You have an extra ")" after the first IF.  Try

IF({Sonrise Home} = "CH", "Sonrise Children's Home", IF({Sonrise Home} = "MIR", "Mirembe Cottage for Girls"))

2 replies

BillH
Forum|alt.badge.img+24
  • Brainy
  • Answer
  • October 31, 2023

You have an extra ")" after the first IF.  Try

IF({Sonrise Home} = "CH", "Sonrise Children's Home", IF({Sonrise Home} = "MIR", "Mirembe Cottage for Girls"))


Forum|alt.badge.img+4
  • Author
  • Inspiring
  • October 31, 2023

thanks Bill!