Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Criteria in sum if ?

I want to reference another cell in the criteria for sumif - look at the
example below - can this be done ?

=SUMIF(B1:B10,"<C1",A:A10)

In the criteria section if I have an argument like "<1,000", for eg., it
works, but if I refer it to another cell it doesn't work. Do you have any
suggestions ?

Thanks,
Shailesh Muzumdar

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default Criteria in sum if ?

I prefer to use SUMPRODUCT, but there may be a reason to use SUMIF for this

=SUMPRODUCT(--(B1:B10<C1),(A1:A10))

HTH,
Barb Reinhardt

"S Muzumdar" wrote:

I want to reference another cell in the criteria for sumif - look at the
example below - can this be done ?

=SUMIF(B1:B10,"<C1",A:A10)

In the criteria section if I have an argument like "<1,000", for eg., it
works, but if I refer it to another cell it doesn't work. Do you have any
suggestions ?

Thanks,
Shailesh Muzumdar

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Criteria in sum if ?

Try

SUMIF(B1:B10,"<"&C1,A:A10)

In your example it looks for the string C1 and not the cell


--
Regards,

Peo Sjoblom


"S Muzumdar" <S wrote in message
...
I want to reference another cell in the criteria for sumif - look at the
example below - can this be done ?

=SUMIF(B1:B10,"<C1",A:A10)

In the criteria section if I have an argument like "<1,000", for eg., it
works, but if I refer it to another cell it doesn't work. Do you have any
suggestions ?

Thanks,
Shailesh Muzumdar



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Criteria in sum if ?

=SUMIF(B1:B10,"<"&C1,A:A10)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"S Muzumdar" <S wrote in message
...
I want to reference another cell in the criteria for sumif - look at the
example below - can this be done ?

=SUMIF(B1:B10,"<C1",A:A10)

In the criteria section if I have an argument like "<1,000", for eg., it
works, but if I refer it to another cell it doesn't work. Do you have any
suggestions ?

Thanks,
Shailesh Muzumdar



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Criteria in sum if ?

Hi

Try
=SUMIF(B1:B10,"<"&C1,A1:A10)

With "C1" you were asking SUMIF to look for literally <C1 in cells, as
all was included within the quotes.

(You original formula was also missing a 1 after the first A which was
obviously just a typo).

--
Regards

Roger Govier


"S Muzumdar" <S wrote in message
...
I want to reference another cell in the criteria for sumif - look at
the
example below - can this be done ?

=SUMIF(B1:B10,"<C1",A:A10)

In the criteria section if I have an argument like "<1,000", for eg.,
it
works, but if I refer it to another cell it doesn't work. Do you have
any
suggestions ?

Thanks,
Shailesh Muzumdar





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
=DMIN(database,field,criteria) question about criteria Dummy Excel Discussion (Misc queries) 2 April 16th 07 08:02 PM
Countif using format criteria not number criteria? Rumbla76 Excel Worksheet Functions 1 April 20th 05 05:38 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Saleem Excel Worksheet Functions 1 January 12th 05 10:54 AM
Counting Cells with multiple criteria.One criteria supporting wild Azhar Arain Excel Worksheet Functions 1 January 12th 05 08:33 AM


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

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"