![]() |
Return Value
=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,F2500001),(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 !!!! -- 1 |
try this idea starting from the highest number
=IF(B1=3,"a",IF(B1=2,"B","c")) -- Don Guillett SalesAid Software "World of Taz" wrote in message ... =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,F2500001),(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 !!!! -- 1 |
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)) "World of Taz" wrote: =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,F2500001),(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 !!!! -- 1 |
Make that
=if(isna(vlookup,F2,'Data Matrix'!A$8:b$11,2,0)),"Invalid",f2*vlookup,F2,'Da ta Matrix'!A$8:b$11,2,0)) "Duke Carey" wrote: 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)) "World of Taz" wrote: =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,F2500001),(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 !!!! -- 1 |
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)) "Duke Carey" wrote: Make that =if(isna(vlookup,F2,'Data Matrix'!A$8:b$11,2,0)),"Invalid",f2*vlookup,F2,'Da ta Matrix'!A$8:b$11,2,0)) "Duke Carey" wrote: 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)) "World of Taz" wrote: =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,F2500001),(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 !!!! -- 1 |
All times are GMT +1. The time now is 01:32 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com