No still it does not work for last formula where it is equal to 14 and it is excluded in first match, returns 0.
No still it does not work for last formula where it is equal to 14 and it is excluded in first match, returns 0.
----
excel_learner
(Using XL 2007 & 2010)
-------Learning never stops!
Hi
Can you attach a sample workbook with some dummy values along with expected results ?
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
sample is attached and hope i have made it clear.
----
excel_learner
(Using XL 2007 & 2010)
-------Learning never stops!
Hi
I think this is the formula you want.
=IF(AND(ISNA(MATCH(A3,pc_cc,0)),ISNA(MATCH(C3,coun ,0))),IF(AND(A3<>14,B3>=$E$1,B3<=$F$1),(D3*2065375 0)/172884227,IF(AND(A3=14,B3>=$E$1,B3<=$F$1),(D3*1500 30)/6083342,0)),0)
and if you evaluate this formula
first it checks
AND(ISNA(MATCH(A3,pc_cc,0)),ISNA(MATCH(C3,coun,0)) )
if it evaluates TRUE, the next step
IF(AND(A3<>14,B3>=$E$1,B3<=$F$1)
.. and if it evaluates TRUE, then it calculates (D3*20653750)/172884227
or if it evaluates FALSE, then evaluates this one.. IF(AND(A3=14,B3>=$E$1,B3<=$F$1)
If it TRUE, (D3*150030)/6083342, otherwise 0
Is it what you are after ?
if not, give me the cell values for E3:E18.
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
I have attached sample data with required values;
Kindly see.
----
excel_learner
(Using XL 2007 & 2010)
-------Learning never stops!
Hi,
In E7, this ISNA(MATCH(A7,pc_cc,0)) returns FALSE.
Cheers !
Excel Range to BBCode Table
Use Social Networking Tools If You Like the Answers !
Message to Cross Posters
@ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)
Ok, any way out to get correct values. But this works fine if I dont put the second match which excludes coun.
----
excel_learner
(Using XL 2007 & 2010)
-------Learning never stops!
Bookmarks