Substitute for SUMIF

Ophelia70

New Member
Joined
Jul 17, 2016
Messages
13
Hello,

I have a workbook that is pulling data from another workbook with a SUMIF so if the workbook is closed there are just #value errors. Usually I would use a SUMPODUCT instead but I can’t make it work just for column Code and to pull a value back for column Q4 actual. Usually when I do a sumproduct it looks at two references to pull back a figure so maybe it just can’t be done for 1?

Any suggestions as to what else would work?


Code<o:p></o:p>
Description<o:p></o:p>
Q4 actual<o:p></o:p>
800010<o:p></o:p>
Salaries<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
11,000<o:p></o:p>
800015<o:p></o:p>
Share Based Payments<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
0<o:p></o:p>
800016<o:p></o:p>
Employer's NI on SBP<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
5,000<o:p></o:p>
800020<o:p></o:p>
Directors Fees<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
0<o:p></o:p>
800030<o:p></o:p>
Employers National Insurance Contributions<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
1,000<o:p></o:p>
800040<o:p></o:p>
Employers Pension Contributions<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
2,000<o:p></o:p>
800100<o:p></o:p>
Temporary Staff<o:p></o:p>
<o:p></o:p>
<o:p></o:p>
31,845<o:p></o:p>
<tbody> </tbody>
<o:p>

Thanks
</o:p>
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
You can use SUMPRODUCT when there's only one column for criteria.

Can you post your existing SUMIF formula?
 
Upvote 0
maybe:

=SUMPRODUCT(--('Other workbook'!$A:$A=A9),'Other workbook'!$J:$J)
 
Upvote 0

Forum statistics

Threads
1,214,586
Messages
6,120,402
Members
448,958
Latest member
Hat4Life

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