ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMIF PROBLEM (https://www.excelbanter.com/excel-worksheet-functions/9607-sumif-problem.html)

puzzledfe

SUMIF PROBLEM
 
I cannot get SUMIF to work on Excel 2002, perhaps I am missing something. I
have a column named PROB, and within this column I have text criteria e.g.
CON or POSS, elsewhere in a different column on the same sheet I have
financial data, that I want to sum according to the criteria. I have tried
SUMIF(PROB,"CON",[sum range], but it does not return the sum I am expecting,
indeed with various experiments I am completely at a loss about what it is
returning except under certain conditions it will return the value in a
single cell OK.

JE McGimpsey

Check that

1) your PROB column "CON" entries don't have extraneous spaces, and

2) that your [sum range] is actually numbers rather than text (a common
problem when pasting in from a web browser). To coerce text numbers to
real numbers, copy an empty cell, select your [sum range] and choose
Edit/Paste Special, selecting the Values and Add radio buttons.


In article ,
puzzledfe wrote:

I cannot get SUMIF to work on Excel 2002, perhaps I am missing something. I
have a column named PROB, and within this column I have text criteria e.g.
CON or POSS, elsewhere in a different column on the same sheet I have
financial data, that I want to sum according to the criteria. I have tried
SUMIF(PROB,"CON",[sum range], but it does not return the sum I am expecting,
indeed with various experiments I am completely at a loss about what it is
returning except under certain conditions it will return the value in a
single cell OK.


N Harkawat

Check to see if the size(# of rows) of both the columns (col PROB and
sumrange) are same.
if PROB is from A1:A110 = 110 rows so is the sumrange 110 rows


"puzzledfe" wrote in message
...
I cannot get SUMIF to work on Excel 2002, perhaps I am missing something. I
have a column named PROB, and within this column I have text criteria e.g.
CON or POSS, elsewhere in a different column on the same sheet I have
financial data, that I want to sum according to the criteria. I have tried
SUMIF(PROB,"CON",[sum range], but it does not return the sum I am
expecting,
indeed with various experiments I am completely at a loss about what it is
returning except under certain conditions it will return the value in a
single cell OK.




Peo Sjoblom

Maybe some of the values you want to sum are text?


=SUMIF(Range1,criteria,Range2)

are both ranges of the same size


Regards,

Peo Sjoblom

"puzzledfe" wrote:

I cannot get SUMIF to work on Excel 2002, perhaps I am missing something. I
have a column named PROB, and within this column I have text criteria e.g.
CON or POSS, elsewhere in a different column on the same sheet I have
financial data, that I want to sum according to the criteria. I have tried
SUMIF(PROB,"CON",[sum range], but it does not return the sum I am expecting,
indeed with various experiments I am completely at a loss about what it is
returning except under certain conditions it will return the value in a
single cell OK.



All times are GMT +1. The time now is 01:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com