Match, Sumif, Multi Function Formulas???

cgreen

Active Member
Joined
Aug 14, 2002
Messages
291
Hi All, Hope you can help.

This is the formula I'm playing with:
=IF(B5>0,IF(MATCH($A$1,'[Copy of Document Register.xls]Production Control'!$B$2:$B$1001,0),SUMPRODUCT(--('[Copy of Document Register.xls]Production Control'!$C$2:$C$1001=B5),('[Copy of Document Register.xls]Production Control'!$J$2:$J$1001)),0))

The month I am working on is in A1 on the 'monthly schedule' report. I want it to look at A1 then go to the 'copy of document register' and look at column B to see if it matches A1. If column B from 'copy of document register' matches A1, I want it to look at B5 and match to column C on the 'copy of document register' and total up the numbers in column (D-E) of the 'copy of document register'.
Copy of Document Register.xls
BCDE
1"Orders" MonthofSchdPCNQTYOrderedQTYReturned
2Jan-05N021ZG4
3Jan-05N03ZA052
4Jan-05N02MF54
5Dec-04N01STH1
6Dec-04N01STK1
Production Control
Monthly Schedule.xls
ABCDEFGHIJ
1Jan-05
2ProgramsDatabaseDocumentRegister
3PCN'sforFY05NameTypeAuth.TotalsMonthSchdRequiredMonthSchdOrderedTotalOrdered
41N01JQ0T700EngOCMI05--
52N02JQ0T700EngRecapA3200#REF!76
63N01BCZT701CEngOCMI010--
74N02BCZT701CEngConvC250--
85N03BCZT701CEngRecapA3220--
PC Count Report for FY05
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

cgreen

Active Member
Joined
Aug 14, 2002
Messages
291
=SUMIF('[Copy of Document Register.xls]Production Control'!$B$2:$B$1001,A1,'[Copy of Document Register.xls]Production Control'!$D$2:$D$1001)

For the above spreadsheet: This formula gives me the total count for the date ordered. How do I get it to give me the total count only if the PCN matches to the date ordered??? :pray:
 

Forum statistics

Threads
1,147,508
Messages
5,741,570
Members
423,668
Latest member
Audorin

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
Top