sharkey
New Member
Help! Totally lost here...For this equation I'm trying to take a value (N9) and subtract the amount of that value that is pending deactivation(I9), then from that amount I want to subtract values prior to applying a discount (1-$O$3), and then adding those values back and then multiplying by the term (PIVOTS.LOOKUPS!$AT$4). At this point anything with an iferror attached is just going through as a zero...
=IF(A9="","",((N9-I9)-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!AZ:BA,2,FALSE),0))-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!
BC:BD,2,FALSE),0))-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS
!BF:BG,2,FALSE),0))))))*(1-$O$3)+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!AZ:BA,2,FALSE),0))+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!BC:BD,2,FALSE),0))+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!BF:BG,2,FALSE),0))))))*PIVOTS.LOOKUPS!$AT$4
=IF(A9="","",((N9-I9)-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!AZ:BA,2,FALSE),0))-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!
BC:BD,2,FALSE),0))-((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS
!BF:BG,2,FALSE),0))))))*(1-$O$3)+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!AZ:BA,2,FALSE),0))+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!BC:BD,2,FALSE),0))+((IFERROR(VLOOKUP(A9,PIVOTS.LOOKUPS!BF:BG,2,FALSE),0))))))*PIVOTS.LOOKUPS!$AT$4