Change sumif formula to sumproduct

hrayani

Well-known Member
Joined
Jul 23, 2010
Messages
1,516
Office Version
  1. 2016
Platform
  1. Windows
Hello Friends,

Pls convert the below sumif formula to sumproduct as sumif does not work on closed workbook

Excel Formula:
=SUMIFS('C:\OneDrive\Documents\DATA ENTRY.xlsm'!orders_value,'C:\OneDrive\Documents\DATA ENTRY.xlsm'!orders_po_shipment_date,">="&C$3,'C:\OneDrive\Documents\DATA ENTRY.xlsm'!orders_po_shipment_date,"<="&C$4,'C:\OneDrive\Documents\DATA ENTRY.xlsm'!orders_supplier,$B6,'C:\OneDrive\Documents\DATA ENTRY.xlsm'!orders_customer,"towel world")

Regards,

Humayun
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Ok Did it myself - thanks

Excel Formula:
=SUMPRODUCT(('DATA ENTRY.xlsm'!orders_value)*('DATA ENTRY.xlsm'!orders_po_shipment_date>=C$3)*('DATA ENTRY.xlsm'!orders_po_shipment_date<=C$4)*('DATA ENTRY.xlsm'!orders_supplier=$B6)*('DATA ENTRY.xlsm'!orders_customer="towel world"))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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