Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default SUMIF-how do i get it to work using names in range?help

I am trying to use SUMIF. In columncells a93:a117 I have names that are the
"range" In column p55:p84 I have the Sum-range of values to be added. For
the criteria i used each name in a93:a117. So my first sumif says,
SUMIF(A$93:$117, A93, p$55:p$84). All that seem sto be happening is that the
values in column P are just getting copied in order, with no attachment to
the range names and nu summation. What am I doing wrong? I even tried
putting the "criiteria" in quotes, so (A$93:$117, "Bob", p$55:p$84). It
still does not work. can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMIF-how do i get it to work using names in range?help

As a start, the ranges should be the same size:

SUMIF(A$93:$117, A93, p$55:p$84)


Those ranges aren't the same size.

A93:A117 = 25 cells
P55:P84 = 30 cells

So, using:

=SUMIF(A$93:A$117,A93,P$55:P$84)

Cells P80:P84 are not being included in the calculation.

--
Biff
Microsoft Excel MVP


"PetroBP" wrote in message
...
I am trying to use SUMIF. In columncells a93:a117 I have names that are the
"range" In column p55:p84 I have the Sum-range of values to be added.
For
the criteria i used each name in a93:a117. So my first sumif says,
SUMIF(A$93:$117, A93, p$55:p$84). All that seem sto be happening is that
the
values in column P are just getting copied in order, with no attachment to
the range names and nu summation. What am I doing wrong? I even tried
putting the "criiteria" in quotes, so (A$93:$117, "Bob", p$55:p$84). It
still does not work. can anyone help?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default SUMIF-how do i get it to work using names in range?help

SUMIF(A$93:$117, A93, p$93:p$117)

the rows in the 1st and 3rd arguements have to match for the sumif to work

"PetroBP" wrote:

I am trying to use SUMIF. In columncells a93:a117 I have names that are the
"range" In column p55:p84 I have the Sum-range of values to be added. For
the criteria i used each name in a93:a117. So my first sumif says,
SUMIF(A$93:$117, A93, p$55:p$84). All that seem sto be happening is that the
values in column P are just getting copied in order, with no attachment to
the range names and nu summation. What am I doing wrong? I even tried
putting the "criiteria" in quotes, so (A$93:$117, "Bob", p$55:p$84). It
still does not work. can anyone help?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SUMIF-how do i get it to work using names in range?help

the rows in the 1st and 3rd arguements have
to match for the sumif to work


Technically, Excel will automatically evaluate the same number of cells for
the sum_range as is referenced in the range argument. For example:

x...1
y...1
x...1
z...1
x...1

=SUMIF(A1:A5,"x",B1)

Returns 3

There are 5 cells in the range argument so Excel will automatically evaluate
the sum_range as being 5 cells starting from cell B1.

=SUMIF(A1,"x",B1:B5)

Returns 1

There is just 1 cell in the range argument so Excel automatically evaluates
the sum_range as 1 cell, B1.

--
Biff
Microsoft Excel MVP


"Garrym" wrote in message
...
SUMIF(A$93:$117, A93, p$93:p$117)

the rows in the 1st and 3rd arguements have to match for the sumif to work

"PetroBP" wrote:

I am trying to use SUMIF. In columncells a93:a117 I have names that are
the
"range" In column p55:p84 I have the Sum-range of values to be added.
For
the criteria i used each name in a93:a117. So my first sumif says,
SUMIF(A$93:$117, A93, p$55:p$84). All that seem sto be happening is that
the
values in column P are just getting copied in order, with no attachment
to
the range names and nu summation. What am I doing wrong? I even tried
putting the "criiteria" in quotes, so (A$93:$117, "Bob", p$55:p$84). It
still does not work. can anyone help?



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
How to Delete blanks between a range and populate only the names inthe given range Yuvraj Excel Discussion (Misc queries) 2 November 4th 09 08:32 PM
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
Sumif referring to range names formulas not updating Excel_Still_Stumps_ME Excel Worksheet Functions 1 September 19th 06 08:14 PM
Selecting range in list of range names depending on a cell informa Courreges Excel Discussion (Misc queries) 2 June 19th 06 10:59 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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