Conditional Sums and Excel 2007

mghoran

New Member
Joined
Sep 6, 2010
Messages
4
Are there differences between the way 2003 and 2007 works for Cond Sums? Previous .xls files work OK (2003), now getting "zero" values in 2007...

Cell formats, settings ?? I created these by "saving as" from the .xls, and the "rollup" had to be .xlsm because of macros.

I am linking multiple .xlsx files to one "rollup" .xlsm file that I need a sum based on a criteria, and sum them up when the other linked files are closed..

=SUM(IF('\\mw\data\f15pgms\me_10x_friet\ME_Action_Logs_2012\[ANR_ACTION_ITEMS.xlsx]Sheet1'!$F$2:$F$5000="bl",'\\mw\data\f15pgms\me_10x_friet\ME_Action_Logs_2012\[ANR_ACTION_ITEMS.xlsx]Sheet1'!$F$2:$F$5000,0))
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi

There's no difference in the way array formulas will work between the versions.

From your formula, you are conditionally checking that F equals the string "bl" then summing these same F cells up - this will always return a zero whether in 2003 or 2007 as you are summing Text values.
 
Upvote 0
That same formula works in Excel 2003.. sums up all the rows that have a "bl" in them..
 
Upvote 0
That same formula works in Excel 2003.. sums up all the rows that have a "bl" in them..

It is summing the cells that contain "bl" - it just happens that if F2:F5 each contain "bl" then

=SUM(F2:F5)

will always return zero (as the text values are ignored). This behaviour hasn't changed.

Did you perhaps mean you wanted to count the rows that contain "bl"? That would mean only a slight variation on your formula:

=SUM(IF('\\mw\data\f15pgms\me_10x_friet\ME_Action_Logs_2012\[ANR_ACTION_ITEMS.xlsx]Sheet1'!$F$2:$F$5000="bl",1,0))

which requires array-entering
 
Upvote 0
that worked perfectly.. THANK YOU and Happy New Year to you..

Not sure why the Conditional Sum Wizard did not make the formula work correctly though...
 
Upvote 0

Forum statistics

Threads
1,216,419
Messages
6,130,515
Members
449,585
Latest member
kennysmith1

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