A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sumif based on criteria on another cell



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2009, 09:21 PM posted to microsoft.public.excel.worksheet.functions
Jane
external usenet poster
 
Posts: 464
Default Sumif based on criteria on another cell

I am trying to add values in one column, if another column meets a certain
criteria.

This is the formula I have come up with and it doesnt work. Please help

SUMIF(B:B,"=AC10 and =AD10",C:C )


I thought I posted this question already, but could not find my post on the
forum, so submitting again
  #2  
Old April 22nd, 2009, 09:27 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
Default Sumif based on criteria on another cell

Jane,

SUMIF only works with a single criteria, try eumproduct

=SUMPRODUCT((B1:B100=AD10)*(B1:B100=AC10)*(C1:C1 00))

Mike

"Jane" wrote:

I am trying to add values in one column, if another column meets a certain
criteria.

This is the formula I have come up with and it doesnt work. Please help

SUMIF(B:B,"=AC10 and =AD10",C:C )


I thought I posted this question already, but could not find my post on the
forum, so submitting again

  #3  
Old April 22nd, 2009, 09:33 PM posted to microsoft.public.excel.worksheet.functions
Jane
external usenet poster
 
Posts: 464
Default Sumif based on criteria on another cell

It worked ... Thank you Mike!!!



"Mike H" wrote:

Jane,

SUMIF only works with a single criteria, try eumproduct

=SUMPRODUCT((B1:B100=AD10)*(B1:B100=AC10)*(C1:C1 00))

Mike

"Jane" wrote:

I am trying to add values in one column, if another column meets a certain
criteria.

This is the formula I have come up with and it doesnt work. Please help

SUMIF(B:B,"=AC10 and =AD10",C:C )


I thought I posted this question already, but could not find my post on the
forum, so submitting again

  #4  
Old April 22nd, 2009, 09:36 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Sumif based on criteria on another cell

SUMIF(B:B,"=AC10 and =AD10",C:C )

Assuming:
AC10 is your upper boundary value
AD10 is your lower boundary value

=SUMIF(B:B,"="&AD10,C:C)-SUMIF(B:B,""&AC10,C:C)


--
Biff
Microsoft Excel MVP


"Jane" wrote in message
...
I am trying to add values in one column, if another column meets a certain
criteria.

This is the formula I have come up with and it doesnt work. Please help

SUMIF(B:B,"=AC10 and =AD10",C:C )


I thought I posted this question already, but could not find my post on
the
forum, so submitting again



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.