Is it Possible to Combine these 3 Formulas??

thewiseguy

Well-known Member
Joined
May 23, 2005
Messages
956
Office Version
  1. 365
Platform
  1. Windows
I am trying to populate quantities of various products that sit in various places within another worksheet. Insteas of having 3 columns showing totals for each different product type, I was hoping to have one column equal to QUANTITY. Is it possible to combine these 3 formulas? Any help is greatly appreciated!


=(IF(SUMPRODUCT(--('Line Item (input)'!$W$3:$W$2002=A8),'Line Item (input)'!$Y$3:$Y$2002)=0,"",SUMPRODUCT(--('Line Item (input)'!$W$3:$W$2002=A8),'Line Item (input)'!$Y$3:$Y$2002)))*(XLOOKUP(A8,Table_Rental[MaskedPartNumber],Table_Rental[Lamps Per Fixture],XLOOKUP(A8,Table_Lamp[MaskedPartNumber],Table_Lamp[Lamps Per Fixture],XLOOKUP(A8,Table_Materials[MaskedPartNumber],Table_Materials[Lamps Per Fixture],XLOOKUP(A8,Table_Accessory[MaskedPartNumber],Table_Accessory[Lamps Per Fixture],XLOOKUP(A8,Table_Control[MaskedPartNumber],Table_Control[Lamps Per Fixture],XLOOKUP(A8,Table_Fixture[MaskedPartNumber],Table_Fixture[Lamps Per Fixture],"",0)))))))

=IF(SUMPRODUCT(--('Line Item (input)'!$AB$3:$AB$2002=A8),'Line Item (input)'!$AC$3:$AC$2002)=0,"",SUMPRODUCT(--('Line Item (input)'!$AB$3:$AB$2002=A8),'Line Item (input)'!$AC$3:$AC$2002))

=(IF(SUMPRODUCT(--('Line Item (input)'!$AD$3:$AD$2002=A8),'Line Item (input)'!$AE$3:$AE$2002)=0,"",SUMPRODUCT(--('Line Item (input)'!$AD$3:$AD$2002=A8),'Line Item (input)'!$AE$3:$AE$2002))
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
i just combined the 3 formulas using &""& and hid the 3 columns
 
Upvote 0
Solution

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top