SUM formula, data from another workbook

Hudson512

New Member
Joined
Mar 21, 2011
Messages
8
Office Version
  1. 365
Hi,

I'm having problems trying to summarise some data from another (closed) workbook.

The summary page is currently in the same workbook but it would be a lot better if it could be in a seperate workbook. The formula I'm using is below

=SUM(('Sheet1'!F3:F20="Name")*('Sheet1'!G3:G20="Yes"))

Is this possible?

Thanks in advance
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Yes, it's possible. Open the other workbook and enter your formula in the target workbook, pointing at the cells with your mouse while you do so. It will look something like this:

=SUM(([Book2.xlsm]Sheet1!F3:F20="Name")*([Book2.xlsm]Sheet1!G3:G20="Yes"))
 
Upvote 0
Hi,

Thanks for the quick response, really appreciate it.

I have put the formula in that you suggested and it has worked better than my previous attempts, it doesn't produce an error message now.

The value has gone to zero, where it should be 4.

Any suggestions? The formula worked ok when in the same sheet.

Thanks again
 
Upvote 0
Did you remember to press Ctrl+Shift+Enter? You could also try the non-array version:

=SUMPRODUCT(--([Book2.xlsm]Sheet1!F3:F20="Name"),--([Book2.xlsm]Sheet1!G3:G20="Yes"))
 
Upvote 0
Hi,

No I didn't remember! Got it in one! I realised just after I'd posted the thread! Sorry about that.

You've been great, thank you so much for your help.

Formula works great
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,786
Members
452,942
Latest member
VijayNewtoExcel

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