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 sum the values of a range based upon multiple ranges and criteria

Help!

Range("A2:A57") may contain values from "A-K"
Range("B2:B57") may contain values M, T, W, R, F for the days of the week.
Based on those ranges I need to sum Range("D2:D57") where both criterias are
met.
example:
Where Column A = "A" and where column B = "M", sum every cell ("D2:D57")
that meets both criteria, where column A may have 15 cells that contain "A"
and column B may have 5 cells that contain "M" leaving a maximum of 5 cells
that can be summed.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default sum the values of a range based upon multiple ranges and criteria


LiveIt,

=SUMPRODUCT((A2:A57="A")*(B2:B57="M")*(D2:D57))

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=562213

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
Bucketing data based on DATE Range criteria sumitk Excel Discussion (Misc queries) 1 May 20th 06 12:16 AM
COUNTIF with multiple disjoint ranges, same criteria Ron Coderre New Users to Excel 5 March 4th 06 08:11 AM
COUNTIF with multiple disjoint ranges, same criteria Bob Phillips New Users to Excel 1 March 3rd 06 11:02 PM
COUNTIF with multiple disjoint ranges, same criteria CLR New Users to Excel 0 March 3rd 06 08:00 PM
Dynamic range names, multiple criteria, sumproduct [email protected] Excel Discussion (Misc queries) 1 September 20th 05 02:58 AM


All times are GMT +1. The time now is 09:30 AM.

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"