Forum Discussion

jcallawayBBS's avatar
jcallawayBBS
Copper Contributor
Jun 08, 2021
Solved

if/or/and fomulas

I'm trying to create a spreadsheet for tipping support staff in restaurant but the percentage changes if there is more than one employee on during a shift. How do I write a formula that says if more ...
  • DKoontz's avatar
    Jun 09, 2021
    Assuming A2:A20 is the name containing range, I would do something like = IF ( COUNTA (A2:A20) = 1, 6.5%, 5%)

    counta just counts the number of employees, then you can modify what happens if certain criteria are met. like multiply Sales in B:B * 6.5% like, = IF ( COUNTA (A2:A20) = 1, B2 * 6.5%, B2 * 5%)

Resources