Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default SUMIF Returns a #VALUE error when external source is closed

Can you help me out with this? if works fine if the external source is open but returns a #value if its closed. is there anyway of correcting this?
  #2   Report Post  
Julieeeee
 
Posts: n/a
Default

When you open that file, it should ask you if you want to update - choose "do
not update" otherwise you will have to open the other file too.

"ghynes" wrote:


Can you help me out with this? if works fine if the external source is
open but returns a #value if its closed. is there anyway of correcting
this?


--
ghynes

  #3   Report Post  
FSt1
 
Posts: n/a
Default

hi,
post your sumif formula. need more info that you profided. we are not
psychics.

Regards
FSt1


"ghynes" wrote:


Can you help me out with this? if works fine if the external source is
open but returns a #value if its closed. is there anyway of correcting
this?


--
ghynes

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gidders
 
Posts: n/a
Default SUMIF Returns a #VALUE error when external source is closed

I'm having the same issue. I have one sheet which contains the data I want to
sum, dependant on the data held in another sheet, in this case [CSS Input] eg

=SUMIF('[CSS Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'[CSS
Input.xls]Input'!$V$2

If the sheet CSS Input is open at the same time as the sheet I'm working on
then the formula works. If however I just open the main file, I'm propmted to
update the links to external data sources & if I click update (because CSS
Input might have been amended independently), it returns #value.

The formula now reads formula reads

=SUMIF('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

I've never had problems with other links to external sheets and in fact the
straight reference to [CSS Input.xls]Input'!$V$2 works fine

Any ideas?
Gidders




"FSt1" wrote:

hi,
post your sumif formula. need more info that you profided. we are not
psychics.

Regards
FSt1


"ghynes" wrote:


Can you help me out with this? if works fine if the external source is
open but returns a #value if its closed. is there anyway of correcting
this?


--
ghynes

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default SUMIF Returns a #VALUE error when external source is closed

SUMIF does not work with closed workbooks, you need to use SUMPRODUCT

=SUMPRODUCT(--(Range="yes"),SumRange)




--

Regards,

Peo Sjoblom

"Gidders" wrote in message
...
I'm having the same issue. I have one sheet which contains the data I want

to
sum, dependant on the data held in another sheet, in this case [CSS Input]

eg

=SUMIF('[CSS Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'[CSS
Input.xls]Input'!$V$2

If the sheet CSS Input is open at the same time as the sheet I'm working

on
then the formula works. If however I just open the main file, I'm propmted

to
update the links to external data sources & if I click update (because CSS
Input might have been amended independently), it returns #value.

The formula now reads formula reads

=SUMIF('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

I've never had problems with other links to external sheets and in fact

the
straight reference to [CSS Input.xls]Input'!$V$2 works fine

Any ideas?
Gidders




"FSt1" wrote:

hi,
post your sumif formula. need more info that you profided. we are not
psychics.

Regards
FSt1


"ghynes" wrote:


Can you help me out with this? if works fine if the external source is
open but returns a #value if its closed. is there anyway of correcting
this?


--
ghynes





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default SUMIF Returns a #VALUE error when external source is closed

Try using SUMPRODUCT...

=SUMPRODUCT(--('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151="Yes"),'C:\Documents and Settings\1358745\My
Documents\[CSS Input.xls]Input'!$C3:$C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

Note the your ranges need to be the same size.

Hope this helps!

In article ,
"Gidders" wrote:

I'm having the same issue. I have one sheet which contains the data I want to
sum, dependant on the data held in another sheet, in this case [CSS Input] eg

=SUMIF('[CSS Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'[CSS
Input.xls]Input'!$V$2

If the sheet CSS Input is open at the same time as the sheet I'm working on
then the formula works. If however I just open the main file, I'm propmted to
update the links to external data sources & if I click update (because CSS
Input might have been amended independently), it returns #value.

The formula now reads formula reads

=SUMIF('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

I've never had problems with other links to external sheets and in fact the
straight reference to [CSS Input.xls]Input'!$V$2 works fine

Any ideas?
Gidders

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gidders
 
Posts: n/a
Default SUMIF Returns a #VALUE error when external source is closed

Thanks for that - it works great.

By the way, what does the --(expession) syntax do?

"Domenic" wrote:

Try using SUMPRODUCT...

=SUMPRODUCT(--('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151="Yes"),'C:\Documents and Settings\1358745\My
Documents\[CSS Input.xls]Input'!$C3:$C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

Note the your ranges need to be the same size.

Hope this helps!

In article ,
"Gidders" wrote:

I'm having the same issue. I have one sheet which contains the data I want to
sum, dependant on the data held in another sheet, in this case [CSS Input] eg

=SUMIF('[CSS Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'[CSS
Input.xls]Input'!$V$2

If the sheet CSS Input is open at the same time as the sheet I'm working on
then the formula works. If however I just open the main file, I'm propmted to
update the links to external data sources & if I click update (because CSS
Input might have been amended independently), it returns #value.

The formula now reads formula reads

=SUMIF('C:\Documents and Settings\1358745\My Documents\[CSS
Input.xls]Input'!$T3:$T151,"yes",C11:C151)/'C:\Documents and
Settings\1358745\My Documents\[CSS Input.xls]Input'!$V$2

I've never had problems with other links to external sheets and in fact the
straight reference to [CSS Input.xls]Input'!$V$2 works fine

Any ideas?
Gidders


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default SUMIF Returns a #VALUE error when external source is closed

In article ,
"Gidders" wrote:

Thanks for that - it works great.


You're very welcome! Glad I could help!

By the way, what does the --(expession) syntax do?


Have a look at the following link...

http://www.mcgimpsey.com/excel/formulae/doubleneg.html
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inserting rows through external data source [email protected] Excel Discussion (Misc queries) 0 April 5th 05 03:16 AM
SUMIF Returns a #VALUE error when external source is closed Chad Excel Worksheet Functions 1 April 4th 05 03:01 PM
External Data Source updating on open, how to turn back on prompt. kristy Excel Worksheet Functions 1 March 15th 05 05:33 AM
Sumif range returns #NUM! BAC Excel Worksheet Functions 3 December 6th 04 05:10 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 09:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"