Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default sumif/sumproduct formula help

I am trying to use the sumif or sumproduct formula and am coming up with
either no data or incorrect data.

=SUMIF('2007-01'!$E$3:$E$500,B:B,'2007-01'!$I3:$I$500)/1000000 ---- Gives
back a zero

{=SUMPRODUCT(--('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000}
----- Gives back #value!


{=SUM(IF('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000} ----
Gives back a value of the entire column I and is ignoring the criteria in
$B:$B

Any help would be greatly appreciated.

Robert

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default sumif/sumproduct formula help

Robert

B:B needs to be a single cell or a value. Have a look at the Help for SUMIF

The SUMIF compares each cell in the range E3 to E500 with *a* cell in column
B (for example) and, where there is a match, adds up the values in I3 to
I500.

You don't need to limit the range of cells as you would with SUMPRODUCT, so
you could have:

=SUMIF('2007-01'!$E:$E, B1, '2007-01'!$I:$I)/1000000

Or something like that.

Regards

Trevor


"Robert" wrote in message
...
I am trying to use the sumif or sumproduct formula and am coming up with
either no data or incorrect data.

=SUMIF('2007-01'!$E$3:$E$500,B:B,'2007-01'!$I3:$I$500)/1000000 ----
Gives
back a zero

{=SUMPRODUCT(--('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000}
----- Gives back #value!


{=SUM(IF('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000} ----
Gives back a value of the entire column I and is ignoring the criteria in
$B:$B

Any help would be greatly appreciated.

Robert



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default sumif/sumproduct formula help

I forgot to mention that I am pulling information from other unopen excel
files so the sumif calc will not work. That is why I was trying the
sumproduct and sumif with the array. My same question still applies. Any
suggestions?

"Robert" wrote:

I am trying to use the sumif or sumproduct formula and am coming up with
either no data or incorrect data.

=SUMIF('2007-01'!$E$3:$E$500,B:B,'2007-01'!$I3:$I$500)/1000000 ---- Gives
back a zero

{=SUMPRODUCT(--('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000}
----- Gives back #value!


{=SUM(IF('2007-01'!$E$3:$E$500,$B:$B,'2007-01'!$I$3:$I$500))/100000} ----
Gives back a value of the entire column I and is ignoring the criteria in
$B:$B

Any help would be greatly appreciated.

Robert

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
sumproduct or sumif formula help ferde Excel Discussion (Misc queries) 4 April 15th 07 04:36 AM
Sumif...SumProduct...Sum Something heater Excel Discussion (Misc queries) 3 December 14th 05 10:42 PM
Which formula to use? countif, sumif, sumproduct zubee Excel Discussion (Misc queries) 3 September 2nd 05 08:16 PM
sumif vs sumproduct ww Excel Worksheet Functions 2 April 5th 05 02:19 AM
SumIf/SumProduct Formula Help Jacinthe Excel Worksheet Functions 2 March 10th 05 10:37 PM


All times are GMT +1. The time now is 10:26 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"