#VALUE! with SUMIF

wildturkey

Board Regular
Joined
Feb 21, 2006
Messages
189
Office Version
  1. 365
Platform
  1. Windows
Ideas please, I am using a SUMIF and referencing a separate workbook and I update links when opening. All cells with the SUMIF formula come back with #VALUE! and all straight references come back with the correct values.

If I edit links and check source I get 'OK' but only opening the sheet allows the formula to work. If I close the workbook and update source I go straight back to the #VALUE!

SUMIF used =SUMIF('[Sales Log 2011 ML.xlsx]Bookings'!$J$7:$J$300,C$2,'[Sales Log 2011 ML.xlsx]Bookings'!$H$7:$H$300)

Thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
SUMIF will not work with a closed source workbook. You could replace it with a SUMPRODUCT version instead:

=SUMPRODUCT(--('[Sales Log 2011 ML.xlsx]Bookings'!$J$7:$J$300=C$2),'[Sales Log 2011 ML.xlsx]Bookings'!$H$7:$H$300)
 
Upvote 0
SUMIF doesn't work with closed workbooks. Try:

=SUMPRODUCT(--('[Sales Log 2011 ML.xlsx]Bookings'!$J$7:$J$300=C$2),'[Sales Log 2011 ML.xlsx]Bookings'!$H$7:$H$300)
 
Upvote 0
You may have a mismatch between numbers and numbers stored as text (SUMIF is much more forgiving about that).
 
Upvote 0
Yep, have played around with the values and when all entered as numbers the formula works fine, my problem is that my range contains

=TEXT(G30,"mmm yy")

as I'm looking to sum all values that fall within a certain month. Back to drawing board.

Thanks again
 
Upvote 0
Which one contains text? (anything of the format "mmm yy" is going to be text, so I don't see how that factors into this)
 
Upvote 0
I see why you say SUMIF is more forgiving. Have changed my criteria format to text("mmm yy") as well and it works fine.

:-)

Thankyou!
 
Upvote 0

Forum statistics

Threads
1,224,594
Messages
6,179,795
Members
452,943
Latest member
Newbie4296

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