-1

I have a column which has single and multiple languages such as "English", "French", "Russian", "English or Dutch", "French & English".

My query is I would like to write macro code where if we have single language (English) then it should be updated as "Single" and "Multiple" for multiple language ("English or French" , "English & French"). I tried recording a macro but no luck as we keep on getting new languages on a regular basis.

enter image description here

Bash
  • 3
  • 2

1 Answers1

0

You can try this formula:

=IF(AND(ISERROR(FIND("&", B1) > 0), ISERROR(FIND("OR", B1) > 0)), "Single", "Multiple")

Bhagyesh Jain
  • 323
  • 2
  • 10