Thanks, but with this formula the one condition is correct.
=IF(AND($C11>=(INDEX($B$2:$C$8,MATCH($B11,$A$2:$A$8,0),MATCH($A11,$B$1:$C$1,0)))),"Ok","Not Ok")
i want to add other below mention condition too.
=IF($C11<=B3,"Ok","Not Ok")
and this is the criteria table. i cannt go out of this.
Working2.xlsx |
---|
|
---|
| A | B | C |
---|
1 | | Secondary | Primary |
---|
2 | slab 1 | 10 | 100 |
---|
3 | slab 2 | 15 | 200 |
---|
4 | slab 3 | 25 | 300 |
---|
5 | slab 4 | 50 | 400 |
---|
6 | slab 5 | 100 | 500 |
---|
7 | slab 6 | 200 | 600 |
---|
8 | slab 7 | 700 | 700 |
---|
|
---|
=IF(E17=AA$1,IF(AND(K17=AA$2,P17>=$AB$2,P17<AB$3),"OK",IF(AND(K17=AA$3,P17>=$AB$3,P17<AB$4),"OK",IF(AND(K17=AA$4,P17>=$AB$4,P17<AB$5),"OK",IF(AND(K17=AA$5,P17>=$AB$5,P17<AB$6),"OK",IF(AND(K17=AA$6,P17>=$AB$6,P17<AB$7),"OK",IF(AND(K17=AA$7,P17>=$AB$7,P17<AB$8),"OK",IF(AND(K17=AA$8,P17>=$AB$7,),"OK",IF(AND(E17=$AC$1,K17=$AC$2,P17>=$AD$2,P17<$AD$3),"OK",IF(AND(E17=$AC$1,K17=$AC$3,P17>=$AD$3),"OK","Not OK"))))))))))
this is the final formula, i hope you understand.
WS Hangama Sales Tracking Nationallys.xlsx |
---|
|
---|
| AA | AB | AC | AD |
---|
1 | Secondary | Secondary | | PRIMARY |
---|
2 | Slab 1 | 10 | Slab 1 | 100 |
---|
3 | Slab 2 | 15 | Slab 2 | 200 |
---|
4 | Slab 3 | 25 | | |
---|
5 | Slab 4 | 50 | | |
---|
6 | Slab 5 | 100 | | |
---|
7 | Slab 6 | 200 | | |
---|
8 | Slab 7 | 700 | | |
---|
|
---|