Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KDD
 
Posts: n/a
Default SUMIF - really simple, but beats me - help!

Hi, Can someone tell me how to add values from cells in 1 column from a
database where only those cells are picked for summation basis a given
criteria (e.g. a name) which i specify. Needless to say, the "name" is also
there in the same database.
--
KDDXB
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Something like this???

=SUMIF(A1:A10,"name",B1:B10)



KDD wrote:

Hi, Can someone tell me how to add values from cells in 1 column from a
database where only those cells are picked for summation basis a given
criteria (e.g. a name) which i specify. Needless to say, the "name" is also
there in the same database.
--
KDDXB


--

Dave Peterson
  #3   Report Post  
KDD
 
Posts: n/a
Default

I tried that. the sum is coming as 0.

Essentially, column K has incentives made by different members of the
team,whereas column B has names of the sales executives. I want to pluck the
total incentive amount made by each executive and place it in another
worksheet under the executives name.

Column
--
KDDXB


"Dave Peterson" wrote:

Something like this???

=SUMIF(A1:A10,"name",B1:B10)



KDD wrote:

Hi, Can someone tell me how to add values from cells in 1 column from a
database where only those cells are picked for summation basis a given
criteria (e.g. a name) which i specify. Needless to say, the "name" is also
there in the same database.
--
KDDXB


--

Dave Peterson

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

There are a couple of common problems.

Names not spelled the same in the formula as in the table (extra spaces is a
common problem).

The numbers in the cells look like numbers, but they're really text.

If you use a couple of helper cells and put these formulas in them:

=count(b1:b10)
and
=counta(b1:b10)

Adjust the range to match the real addresses.

If they don't match, you can select an empty cell.
edit|copy
select the cells of "numbers"
edit|paste special|check add

=======
But it sounds like you could use a pivottable for this (once you clean your
data!) that would make it easier.

To read more about the pivottable stuff, you may want to look at some links:

Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html

John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)

Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm

MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx

KDD wrote:

I tried that. the sum is coming as 0.

Essentially, column K has incentives made by different members of the
team,whereas column B has names of the sales executives. I want to pluck the
total incentive amount made by each executive and place it in another
worksheet under the executives name.

Column
--
KDDXB

"Dave Peterson" wrote:

Something like this???

=SUMIF(A1:A10,"name",B1:B10)



KDD wrote:

Hi, Can someone tell me how to add values from cells in 1 column from a
database where only those cells are picked for summation basis a given
criteria (e.g. a name) which i specify. Needless to say, the "name" is also
there in the same database.
--
KDDXB


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

1) Check that "name" is exactly what is in your table. What does

=COUNTIF(A1:A10,"name")

return?

2) Check that your amounts in B1:B10 are actually values rather than
text (e.g., verify that =ISNUMBER(B1) returns TRUE). If it is text ,
coerce it to numbers by copying a blank cell, selecting your B1:B10
values and choosing Edit/Paste Special, selecting the Values and Add
radio buttons.

In article ,
KDD wrote:

I tried that. the sum is coming as 0.

Essentially, column K has incentives made by different members of the
team,whereas column B has names of the sales executives. I want to pluck the
total incentive amount made by each executive and place it in another
worksheet under the executives name.

Column
--
KDDXB


"Dave Peterson" wrote:

Something like this???

=SUMIF(A1:A10,"name",B1:B10)

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 use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
this may be simple, sumif question jim sturtz Excel Worksheet Functions 3 August 22nd 05 03:11 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
Help with what should be a simple formula B Millar via OfficeKB.com Excel Worksheet Functions 2 June 16th 05 04:18 PM
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 01:22 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"