Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave
 
Posts: n/a
Default sum with 2 criteria

I have an excell sheet that gets updated daily with submissions from
different departments, what i want to do is to use a formula to submission by
the department and between two dates
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=SUMPRODUCT(--(A2:A50="Department"),--(B2:B50=D2),--(B2:B50<=E2),C2:C50)

where D2 hold the start date, E2 the end date and C2:C50 the amount/values
to sum

--
Regards,

Peo Sjoblom

(No private emails please)


"Dave" wrote in message
...
I have an excell sheet that gets updated daily with submissions from
different departments, what i want to do is to use a formula to submission
by
the department and between two dates


  #3   Report Post  
Ashish Mathur
 
Posts: n/a
Default

Hi,

You can also try using array formulas (Ctrl+Shift+Enter)

=count(if((range1="department")*(range2<date1)*(ra nge3date2)),1,0))

Regards,

Ashish Mathur

"Dave" wrote:

I have an excell sheet that gets updated daily with submissions from
different departments, what i want to do is to use a formula to submission by
the department and between two dates

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
Find largest alphanumeric value matching alpha criteria in databas Alison Excel Worksheet Functions 7 August 4th 05 06:59 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM
Countif using format criteria....not number criteria? Troy Excel Worksheet Functions 1 April 20th 05 04:50 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
SUMPRODUCT Formula to Count Row of data Below Matched Criteria Sam via OfficeKB.com Excel Worksheet Functions 8 February 3rd 05 01:37 AM


All times are GMT +1. The time now is 01:40 AM.

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"