J
Joe Gieder
Can this formula be shortened to eliminate some of the
IFs? It's up to 5 and I kmow 7 is the limit.
Array entered
IF(ISTEXT(R293),"",IF($H293="Yes",(VLOOKUP(K293,'MSP
Listing'!$A$4:$C$1776,3,0)),(IF(ISNA(INDEX(UnitCost,MATCH
($K293&MIN(IF((PN=$K293)*(ExtendCost<>0)*
(Quoted<>"Yes"),ExtendCost)),PN&ExtendCost,),0)),0,INDEX
(UnitCost,MATCH($K293&MIN(IF((PN=$K293)*(ExtendCost<>0)*
(Quoted<>"Yes"),ExtendCost)),PN&ExtendCost,),0)))))
TIA
Joe
IFs? It's up to 5 and I kmow 7 is the limit.
Array entered
IF(ISTEXT(R293),"",IF($H293="Yes",(VLOOKUP(K293,'MSP
Listing'!$A$4:$C$1776,3,0)),(IF(ISNA(INDEX(UnitCost,MATCH
($K293&MIN(IF((PN=$K293)*(ExtendCost<>0)*
(Quoted<>"Yes"),ExtendCost)),PN&ExtendCost,),0)),0,INDEX
(UnitCost,MATCH($K293&MIN(IF((PN=$K293)*(ExtendCost<>0)*
(Quoted<>"Yes"),ExtendCost)),PN&ExtendCost,),0)))))
TIA
Joe