IF statement in analytics?

I am trying to get a count of people who came to the museum, not tickets. We currently aren't using combo tickets so we have GA tickets and Omni tickets. I can do the formula if I pull this into excel but is there a way to do this in analytics?  I basically am saying in an order, if GA tickets are equal to or greater than Omni tickets use the GA ticket count, if not use the Omni count. Any ideas? I am happy to abandon this whole idea if someone has a better way to count people in the door.