CURRENT FORMULA: IFERROR(IF(OR($L9="PSI",$L9="PTC",$L9="PQS",$L9="PST"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
Prioritizes production across all machines the same: PSI, PTC, PQS, PST.
Want to modify formula, to look at cell $D9 first, and based on the machine, prioritize production accordingly, as noted below. How do I write the formula to accomplish this?
IF $D9=”135301”:
IFERROR(IF(OR($L9="PTC",$L9="PST"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PTC and PST]
IF $D9=”135302”:
IFERROR(IF(OR($L9="PST"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PST]
IF $D9=”135303”:
IFERROR(IF(OR($L9="PTC",$L9="PQS"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PTC and PQS]
IF $D9=”135304”:
IFERROR(IF(OR($L9="PSI",$L9="PQS"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PSI and PQS]
THANK YOU!
Prioritizes production across all machines the same: PSI, PTC, PQS, PST.
Want to modify formula, to look at cell $D9 first, and based on the machine, prioritize production accordingly, as noted below. How do I write the formula to accomplish this?
IF $D9=”135301”:
IFERROR(IF(OR($L9="PTC",$L9="PST"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PTC and PST]
IF $D9=”135302”:
IFERROR(IF(OR($L9="PST"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PST]
IF $D9=”135303”:
IFERROR(IF(OR($L9="PTC",$L9="PQS"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PTC and PQS]
IF $D9=”135304”:
IFERROR(IF(OR($L9="PSI",$L9="PQS"),S9,(VLOOKUP(CONCATENATE($C9," Balance % By Month"),$AC$1:$AP$4,5,FALSE)*$AC9))," ")
[only want to prioritize PSI and PQS]
THANK YOU!