Return Value

W

World of Taz

=IF(AND(F2>=0,F2<=120000),(F2*'Data
Matrix'!B8%),OR(IF(AND(F2>=120001,F2<=250000),(F2*'Data
Matrix'!B9%),OR(IF(AND(F2>=250001,F2<=500000),(F2*'Data
Matrix'!B10%),OR(IF(AND(F2=500001,F2>500001),(F2*'Data Matrix'!B11%),"InValid
Data")))))))

Above formula returns True or False as value, however it should return a
value (ie 1000). can any one help !!!!
 
D

Don Guillett

try this idea starting from the highest number
=IF(B1>=3,"a",IF(B1>=2,"B","c"))
 
D

Duke Carey

Another way:

Put
0
120001
250001
500001

in cells A8:A11 on the Data Matrix tab, then use this formula

=if(isna(vlookup,F2,'Data Matrix'!A$8:b$11,2,0)),"Invalid",vlookup,F2,'Data
Matrix'!A$8:b$11,2,0))
 
D

Duke Carey

Make that

=if(isna(vlookup,F2,'Data
Matrix'!A$8:b$11,2,0)),"Invalid",f2*vlookup,F2,'Data
Matrix'!A$8:b$11,2,0))
 
D

Duke Carey

Way too tired to be offering advice:

The formula should be:

=if(isna(vlookup,F2,'Data
Matrix'!A$8:b$11,2)),"Invalid",f2*vlookup,F2,'Data Matrix'!A$8:b$11,2))
 
Top