How can I have multiple IF arguments with Multiple True values in the same column.

Anonymous
2024-07-22T19:31:04+00:00

How can I have multiple IF arguments with Multiple True values in the same column. I have several communities in the same city and several in other cities. I want a formula that looks at the community name and decides what city should fill the cell. =IF(C27="Boykin Hills" OR "Collins Cove" OR "Night Harbor","Chapin")))(C27="Bradford Meadows" OR "Canopy of Oaks" OR "Jackson Preserve" OR "South Bridge" Or "Stillpointe" OR "The Cove","Sumter"))) The first part of the formula works. When I tried to add another argument for a new city it stopped working

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. HansV 462.7K Reputation points MVP Volunteer Moderator
    2024-07-22T20:00:00+00:00

    Change the formula to

    =IFS(OR(C27={"Boykin Hills", "Collins Cove", "Night Harbor"})," Chapin", OR(C27={"Bradford Meadows","Canopy of Oaks", "Jackson Preserve", "South Bridge", "Stillpointe", "The Cove"}), "Sumter", TRUE, "")

    Was this answer helpful?

    0 comments No comments