View Full Version : Simplification of IF formula
excel_learner
07-13-2011, 04:14 PM
I have little complex formula in the attached file that i want to make it simple, kindly assist.
Thanks
68
67
Admin
07-13-2011, 07:15 PM
Hi,
May be..
=IFERROR(SUMPRODUCT(--(A36>=A12:A33),C12:C33)+(INDEX(C12:C33,MATCH(A36,A12:A3 3)+1)/(INDEX(A12:A33,MATCH(A36,A12:A33)+1)-INDEX(A12:A33,MATCH(A36,A12:A33)))*(A36-INDEX(A12:A33,MATCH(A36,A12:A33)))),SUM(C12:C33))
HTH
excel_learner
07-14-2011, 01:49 AM
Thanks, it works, anyother simpler version...
Haseeb A
07-15-2011, 05:55 AM
Hello, Try this,
=IFERROR(SUMIF(A12:A33,"<="&A36,C12:C33)+(INDEX(C12:C33,MATCH(A36,A12:A33,1)+1 )/(INDEX(A12:A33,MATCH(A36,A12:A33,1)+1)-LOOKUP(A36,A12:A33)))*(A36-LOOKUP(A36,A12:A33)),SUM(C12:C33))
excel_learner
07-16-2011, 10:51 AM
thanks,
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.