Skip to main content
Question

Formula help - multiple conditions

  • July 29, 2020
  • 0 replies
  • 22 views

This group has helped me tremendously previously, and I'm hoping for some similar results. Previously you helped me with a formula to return a name based on a particular condition (see below). Now I am trying to create a formula that can take two conditions and return the name. So if the Type = Subcontractor AND Supplier = "Maintenance Supply Headquarters", "Zenovia"

I'm not sure how to have the AND in there to include the two conditions.



If(
[Supplier]="Maintenance Supply Headquarters", "Zenovia",
[Supplier]="Ferguson Facilities Supply", "Manuela",
[Supplier]="HD Supply", "Manuela",
[Supplier]="HD Supply White Cap", "Manuela",
Begins([Supplier],"F"),"Zenovia",
Begins([Supplier],"G"),"Zenovia",
Begins([Supplier],"H"),"Zenovia",
Begins([Supplier],"I"),"Zenovia",
Begins([Supplier],"J"),"Zenovia",
Begins([Supplier],"K"),"Zenovia",
Begins([Supplier],"L"),"Zenovia",
//else
"Manuela")

Thank you,

Brandy

------------------------------
Brandy Nunes
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+14
Ironically, exactly how you typed it!

If(
[Supplier]="Maintenance Supply Headquarters" and [Type] = "Subcontractor", "Zenovia",
[Supplier]="Ferguson Facilities Supply" and [Type] = "Subcontractor", "Manuela",
etc.....

Perhaps someone has a more elegant solution though since there is one constant condition?

------------------------------
Mike Tamoush
------------------------------