ClaireC

New Member
Joined
Mar 18, 2014
Messages
6
I created a form where by using a
COUNT:=SUMPRODUCT((TEXT(Order!A2:A65535,"m/dd/yy")=TEXT('Order Confirmation'!$J$34,"m/dd/yy"))*(((Order!J2:J65535>=1)+(Order!I2:I65535>=1))>0)*(Order!A2:A65535<>"")*(Order!J2:J65535<>"")*(Order!I2:I65535<>""))
AND:
=IF(ROWS(B$38:B38)>$M$34,"",INDEX(Order!B$2:B$65535,AGGREGATE(15,6,(ROW(Order!$A$2:$A$65535)-ROW(Order!$A$2)+1)/((Order!$A$2:$A$65535=$J$34)*((Order!$J$2:$J$66527>=$K$34)+(Order!$I$2:$I$65535>=$L$34))>0),ROWS(B$38:B38))))

I can extract specific records based on multiple criteria. Currently if I have 2 records that meet all of the criteria but with different quantity information I will see both records. I would like to modify the formulas above so that when this occurs it combines the 2 records and sums the quantity so that I only see one record. Is this possible?

Example: The above formulas return
Date Item QTY
3/18/14 AMSBLU 1
3/18/14 BAPAUS 0
3/18/14 CHEHOTL 2
3/18/14 CHEHOTL 1

I want to see:
Date Item QTY
3/18/14 AMSBLU 1
3/18/14 BAPAUS 0
3/18/14 CHEHOTL 3
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,214,780
Messages
6,121,522
Members
449,037
Latest member
tmmotairi

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