ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If value matches criteria, return formula (https://www.excelbanter.com/excel-worksheet-functions/244897-if-value-matches-criteria-return-formula.html)

dj

If value matches criteria, return formula
 
I'm creating a calculator that returns a value based on a set of criteria.
One example: scores below 0% should return X value, between 0-10% should
return Y value, scores greater than 10% should return Z value. X, Y and Z
represent 0% of max, 50% of max and 150% of max respectively. Any ideas?

T. Valko

If value matches criteria, return formula
 
X, Y and Z represent 0% of max, 50% of max
and 150% of max respectively


Max of what?

Let's assume "max" is 100.

=IF(COUNT(A1),IF(A1<0,0,IF(A1<=10%,100*0.5,100*1.5 )),"")

--
Biff
Microsoft Excel MVP


"DJ" wrote in message
...
I'm creating a calculator that returns a value based on a set of criteria.
One example: scores below 0% should return X value, between 0-10% should
return Y value, scores greater than 10% should return Z value. X, Y and Z
represent 0% of max, 50% of max and 150% of max respectively. Any ideas?




dj

If value matches criteria, return formula
 
Worked like a charm, you're the best!

"T. Valko" wrote:

X, Y and Z represent 0% of max, 50% of max
and 150% of max respectively


Max of what?

Let's assume "max" is 100.

=IF(COUNT(A1),IF(A1<0,0,IF(A1<=10%,100*0.5,100*1.5 )),"")

--
Biff
Microsoft Excel MVP


"DJ" wrote in message
...
I'm creating a calculator that returns a value based on a set of criteria.
One example: scores below 0% should return X value, between 0-10% should
return Y value, scores greater than 10% should return Z value. X, Y and Z
represent 0% of max, 50% of max and 150% of max respectively. Any ideas?





T. Valko

If value matches criteria, return formula
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"DJ" wrote in message
...
Worked like a charm, you're the best!

"T. Valko" wrote:

X, Y and Z represent 0% of max, 50% of max
and 150% of max respectively


Max of what?

Let's assume "max" is 100.

=IF(COUNT(A1),IF(A1<0,0,IF(A1<=10%,100*0.5,100*1.5 )),"")

--
Biff
Microsoft Excel MVP


"DJ" wrote in message
...
I'm creating a calculator that returns a value based on a set of
criteria.
One example: scores below 0% should return X value, between 0-10%
should
return Y value, scores greater than 10% should return Z value. X, Y
and Z
represent 0% of max, 50% of max and 150% of max respectively. Any
ideas?








All times are GMT +1. The time now is 11:36 PM.

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