ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If Formula Question (Can I have more than one result?) (https://www.excelbanter.com/excel-discussion-misc-queries/133711-if-formula-question-can-i-have-more-than-one-result.html)

JacobMGross

If Formula Question (Can I have more than one result?)
 
I've searched the forum for the answer to this question, and I know it can be
done, I just haven't done it in a long time.

I'm trying to create a conditional formula that will allow me to have more
than one result. This is for tracking bonuses for the salespeople in our
company. For example, I want to have a column with the salesperson's name,
then a column where I will input their sales figures. I'd like for the bonus
column to auto fill with the desired amount. For example, less than $1000
results in no bonus, between $1000 and $5000 is a $100 bonus, et cetera. Is
this possible?

Gary''s Student

If Formula Question (Can I have more than one result?)
 
Use VLOOKUP() with a small table.
--
Gary''s Student
gsnu200709


"JacobMGross" wrote:

I've searched the forum for the answer to this question, and I know it can be
done, I just haven't done it in a long time.

I'm trying to create a conditional formula that will allow me to have more
than one result. This is for tracking bonuses for the salespeople in our
company. For example, I want to have a column with the salesperson's name,
then a column where I will input their sales figures. I'd like for the bonus
column to auto fill with the desired amount. For example, less than $1000
results in no bonus, between $1000 and $5000 is a $100 bonus, et cetera. Is
this possible?


Vergel Adriano

If Formula Question (Can I have more than one result?)
 
Yes, by using nested IF statements. Assuming the sales figure is in A1, the
formula below will return 0 if <1000, 100 if between 1000 and 5000, and 200
if 5000

=IF(A1<1000, 0, IF(AND(A1=1000,A1<=5000), 100, 200))



"JacobMGross" wrote:

I've searched the forum for the answer to this question, and I know it can be
done, I just haven't done it in a long time.

I'm trying to create a conditional formula that will allow me to have more
than one result. This is for tracking bonuses for the salespeople in our
company. For example, I want to have a column with the salesperson's name,
then a column where I will input their sales figures. I'd like for the bonus
column to auto fill with the desired amount. For example, less than $1000
results in no bonus, between $1000 and $5000 is a $100 bonus, et cetera. Is
this possible?


David Biddulph[_2_]

If Formula Question (Can I have more than one result?)
 
But you can omit the AND(A1=1000,... as you've already tested for the
contrary condition.
You can simplify to =IF(A1<1000, 0, IF(A1<=5000, 100, 200))
--
David Biddulph

"Vergel Adriano" wrote in message
...
Yes, by using nested IF statements. Assuming the sales figure is in A1,
the
formula below will return 0 if <1000, 100 if between 1000 and 5000, and
200
if 5000

=IF(A1<1000, 0, IF(AND(A1=1000,A1<=5000), 100, 200))



"JacobMGross" wrote:

I've searched the forum for the answer to this question, and I know it
can be
done, I just haven't done it in a long time.

I'm trying to create a conditional formula that will allow me to have
more
than one result. This is for tracking bonuses for the salespeople in our
company. For example, I want to have a column with the salesperson's
name,
then a column where I will input their sales figures. I'd like for the
bonus
column to auto fill with the desired amount. For example, less than
$1000
results in no bonus, between $1000 and $5000 is a $100 bonus, et cetera.
Is
this possible?





All times are GMT +1. The time now is 03:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com