ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   User defined - conditional between statement??? (https://www.excelbanter.com/excel-programming/403105-user-defined-conditional-between-statement.html)

Gary F Shelton

User defined - conditional between statement???
 
I need some help.

Sample Data
A B C D

1 | 700 | 800 | =A1/B1 (=87.5%)
2 | 720 | 800 | =A2/B2 (=90%)
3 | 721 | 800 | =A3/B3 (=91%)
4 | 792 | 800 | =A4/B4 (=99%)
5 | 800 | 800 | =A5/B5 (=100%)
6 | 952 | 800 | =A5/B5 (=119%)
7 | 960 | 800 | =A5/B5 (=120%)

Here is what I would like cell D1 to do based on the answer in C1. If the
answer in cell c1 is less than 90% then return the value in cell C1, but if
the cell value in C1 is greater or equal to 90% but less than 100% then add
text that states "MTD FCST within 10%", but if the cell value in C1 is
greater or equal to 100% but less than 120% then add text that states "MTD
FCST exceeds FCST but acceptable", but if the cell value in C1 exceeds 120%
then add text that states "Over FCST"

Thanks in advance for any help.
--
GS

carlo

User defined - conditional between statement???
 
This formula should do what you want:

=IF(C1<0.9,C1,IF(AND(C1=0.9,C1<1),"MTD FCST within
10%",IF(AND(C1=1,C1<1.2),"MTD FCST exceeds FCST but acceptable","over
FCST")))

beware of wordwrap, it should be all on one line

hth

Carlo

On Dec 21, 3:28*pm, Gary F Shelton
wrote:
I need some help.

Sample Data
* * * * *A * * * *B * * * * * * * * *C * * * * * * * * * * * * D * * * * * *

1 * | 700 *| 800 * *| =A1/B1 (=87.5%)
2 * | 720 *| 800 * *| =A2/B2 (=90%)
3 * | 721 *| 800 * *| =A3/B3 (=91%)
4 * | 792 *| 800 * *| =A4/B4 (=99%)
5 * | 800 *| 800 * *| =A5/B5 (=100%)
6 * | 952 *| 800 * *| =A5/B5 (=119%)
7 * | 960 *| 800 * *| =A5/B5 (=120%)

Here is what I would like cell D1 to do based on the answer in C1. If the
answer in cell c1 is less than 90% then return the value in cell C1, but if
the cell value in C1 is greater or equal to 90% but less than 100% then add
text that states "MTD FCST within 10%", but if the cell value in C1 is
greater or equal to 100% but less than 120% then add text that states "MTD
FCST exceeds FCST but acceptable", but if the cell value in C1 exceeds 120%
then add text that states "Over FCST"

Thanks in advance for any help.
--
GS




All times are GMT +1. The time now is 12:18 PM.

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