#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 336
Default sumif

I would like to use a cell's contents as the condition or ciriteria for the
function. I have been unable to make the formula work. I have the criteria as
"A5=1050" but get not results.
--
Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default sumif

=SUMIF(A2:A10,1050,B2:B10)

We assume that A2:A10 hold the values that might contain the 1050 and
B2:B10 are the values to be added.

Does this help?
Kostis Vezerides

Martin wrote:
I would like to use a cell's contents as the condition or ciriteria for the
function. I have been unable to make the formula work. I have the criteria as
"A5=1050" but get not results.
--
Thanks for any help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default sumif

With 1050 in A5:

=Sumif(B1:B100,A5)
Will total all cells in B1 to B100 that contain 1050.


=Sumif(B1:B100,A5,C1:C100)
Will total all cells in C1 to C100 that are in the same row as cells in B1
to B100 that contain 1050.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"Martin" wrote in message
...
I would like to use a cell's contents as the condition or ciriteria for the
function. I have been unable to make the formula work. I have the criteria
as
"A5=1050" but get not results.
--
Thanks for any 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 use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
How to use SUMIF function with non-adjacent cells KLaw Excel Worksheet Functions 5 October 19th 06 10:15 AM
SUMIF function help PO Excel Worksheet Functions 1 June 1st 06 09:33 AM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM


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