Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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



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
SUMIF based on several criteria. Mike Excel Worksheet Functions 6 April 17th 09 10:01 PM
Can I use sumif with OR to sum based on two column criteria? DLB Excel Worksheet Functions 2 November 10th 08 10:12 PM
sumif-add amount to another cell based on two criteria gabrielinlompoc Excel Discussion (Misc queries) 0 February 10th 06 01:22 AM
SumIf based on two criteria Mark Williams Excel Worksheet Functions 1 June 22nd 05 06:43 PM
Is it possible to use the sumif function based on the criteria of. Shelba Excel Worksheet Functions 1 February 2nd 05 06:40 AM


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