Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
vrk1
 
Posts: n/a
Default Problem adding a range using Sumif function.

When I execute the formula,

{=SUMIF(Goal!A:A, $B$3 Goal!$H:$J)}

I am expecting this function to sum the Range Hx:Jy
where x is the starting value where B3 is found in A:A and y is the end value.

Instead, what I am seeing is this only sums Column H and not Column I and
Column J.

How do I solve this problem?


  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try...

=SUMPRODUCT((Goal!A1:A100=$B$3)*Goal!$H$1:$J$100)

Note that SUMPRODUCT doesn't accept whole column references.

Hope this helps!

In article ,
"vrk1" wrote:

When I execute the formula,

{=SUMIF(Goal!A:A, $B$3 Goal!$H:$J)}

I am expecting this function to sum the Range Hx:Jy
where x is the starting value where B3 is found in A:A and y is the end value.

Instead, what I am seeing is this only sums Column H and not Column I and
Column J.

How do I solve this problem?

  #3   Report Post  
vrk1
 
Posts: n/a
Default

That resolved my problem! Thanks for the quick response!

"Domenic" wrote:

Try...

=SUMPRODUCT((Goal!A1:A100=$B$3)*Goal!$H$1:$J$100)

Note that SUMPRODUCT doesn't accept whole column references.

Hope this helps!

In article ,
"vrk1" wrote:

When I execute the formula,

{=SUMIF(Goal!A:A, $B$3 Goal!$H:$J)}

I am expecting this function to sum the Range Hx:Jy
where x is the starting value where B3 is found in A:A and y is the end value.

Instead, what I am seeing is this only sums Column H and not Column I and
Column J.

How do I solve this problem?


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
Passing a range name as an argument to the Index Function Michael Sharpe Excel Discussion (Misc queries) 3 September 5th 12 01:33 PM
"COUNTU" function in Excel to count unique entries in a range WayneL Excel Worksheet Functions 20 September 19th 08 03:50 AM
How to combine a vlookup with a sumif function!!! Mark the Shark Excel Discussion (Misc queries) 2 April 6th 05 11:54 AM
SUMIF function yak10 Excel Worksheet Functions 3 February 12th 05 01:15 AM
Adding text before a function Eric Excel Worksheet Functions 1 November 3rd 04 06:57 PM


All times are GMT +1. The time now is 04:53 PM.

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

About Us

"It's about Microsoft Excel"