Forum Discussion
jhermesP
May 30, 2019Copper Contributor
Issue with my IF statement
I'm trying to do an if statement where based on the number of employees it will spit out a price, but the way my formula is set up if there's 0 employees it will spit out a $1. I tried to handle this...
- Jun 03, 2019Given your latest clarification, the formula in M11 is perhaps:
=LOOKUP(C11,
{0,1,101,251,501,1001},
{0,1,1000,2000,3000,5000})
jhermesP
Jun 03, 2019Copper Contributor
If C11=0, M11=0
If 1<C11<100, M11=$1
If 101<C11<250, M11=$1000
If 251<C11<500, M11=$2000
If 501<C11<1000, M11=$3000
If C11>1000, M11=$5000
Twifoo
Jun 03, 2019Silver Contributor
Given your latest clarification, the formula in M11 is perhaps:
=LOOKUP(C11,
{0,1,101,251,501,1001},
{0,1,1000,2000,3000,5000})
=LOOKUP(C11,
{0,1,101,251,501,1001},
{0,1,1000,2000,3000,5000})