savageanman
New Member
- Joined
- Sep 29, 2020
- Messages
- 1
- Office Version
- 2016
- Platform
- Windows
Hi,
So I would like to calculate in cell O2 to be result of (weight1(G2) x if 'type of metal' from other sheet(E2)) + (weight2(H2) x if 'type of metal' from other sheet(F2) then if one of these 2 cells blank then 0 ) + (M2/30)
So it goes like this
=((IF(E2="","",G2*IF(E2="925",MA_SETUP!$K$2,IF(E2="10K YG",MA_SETUP!$C$2,IF(E2="10K WG",MA_SETUP!$B$2,IF(E2="10K PG",MA_SETUP!$C$2,IF(E2="14K YG",MA_SETUP!$F$2,IF(E2="14K WG",MA_SETUP!$F$2,IF(E2="14K PG",MA_SETUP!$F$2,IF(E2="18K YG",MA_SETUP!$I$2,IF(E2="18K PG",MA_SETUP!$I$2,IF(E2="18K WG",MA_SETUP!$H$2))))))))))))
+(IF(F2="","",H2*IF(F2="925",MA_SETUP!$K$2,IF(F2="10K YG",MA_SETUP!$C$2,IF(F2="10K WG",MA_SETUP!$B$2,IF(F2="10K PG",MA_SETUP!$C$2,IF(F2="14K YG",MA_SETUP!$F$2,IF(F2="14K WG",MA_SETUP!$F$2,IF(F2="14K PG",MA_SETUP!$F$2,IF(F2="18K YG",MA_SETUP!$I$2,IF(F2="18K PG",MA_SETUP!$I$2,IF(F2="18K WG",MA_SETUP!$H$2,IF(isblank,""))))))))))))))
+(M2/30)
So when there are blank in F3 and H3, the cell O3 show as #value!
How should I go about?
Sorry for my bad English and many thanks in advance.
So I would like to calculate in cell O2 to be result of (weight1(G2) x if 'type of metal' from other sheet(E2)) + (weight2(H2) x if 'type of metal' from other sheet(F2) then if one of these 2 cells blank then 0 ) + (M2/30)
So it goes like this
=((IF(E2="","",G2*IF(E2="925",MA_SETUP!$K$2,IF(E2="10K YG",MA_SETUP!$C$2,IF(E2="10K WG",MA_SETUP!$B$2,IF(E2="10K PG",MA_SETUP!$C$2,IF(E2="14K YG",MA_SETUP!$F$2,IF(E2="14K WG",MA_SETUP!$F$2,IF(E2="14K PG",MA_SETUP!$F$2,IF(E2="18K YG",MA_SETUP!$I$2,IF(E2="18K PG",MA_SETUP!$I$2,IF(E2="18K WG",MA_SETUP!$H$2))))))))))))
+(IF(F2="","",H2*IF(F2="925",MA_SETUP!$K$2,IF(F2="10K YG",MA_SETUP!$C$2,IF(F2="10K WG",MA_SETUP!$B$2,IF(F2="10K PG",MA_SETUP!$C$2,IF(F2="14K YG",MA_SETUP!$F$2,IF(F2="14K WG",MA_SETUP!$F$2,IF(F2="14K PG",MA_SETUP!$F$2,IF(F2="18K YG",MA_SETUP!$I$2,IF(F2="18K PG",MA_SETUP!$I$2,IF(F2="18K WG",MA_SETUP!$H$2,IF(isblank,""))))))))))))))
+(M2/30)
So when there are blank in F3 and H3, the cell O3 show as #value!
How should I go about?
Sorry for my bad English and many thanks in advance.