Solved

EXCEL FORMULA TOTALING COLUMN BASED ON TWO CRITERIA

Posted on 2013-01-14
5
356 Views
Last Modified: 2013-01-14
I need an EXCEL formula that will total Column "E" minutes if it meets the station requirements in this case "LAS" and count the minutes Column "E" if they are greater than .30 minutes.    This  is what I have that is not working.

=SUMIF(C4:C164,"LAS",E4:E164,">30")


Column "C" is the station    "LAS"     Column "E" is minutes
0
Comment
Question by:BOEING39
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
krishnakrkc earned 500 total points
ID: 38776971
Hi

If you want to COUNT, use COUNTIFS.

=COUNTIFS(C4:C164,"LAS",E4:E164,">30")

If you are on pre Excel 2007 version, try

=SUMPRODUCT(--(C4:C164="LAS"),--(E4:E164>30))

Kris
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 38777005
=SUMPRODUCT((C4:C164="LAS")*(E4:E164>30)*(E4:E164))
0
 

Author Closing Comment

by:BOEING39
ID: 38777009
That did it, thx Kris
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 38777012
For 2007 or later

=SUMPRODUCT((C4:C164="LAS")*(E4:E164>30)*(E4:E164))
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 38777108
I am sorry but either the question is incorrectly written or the answer accepted is not correct. The question asks for

...formula that will total Column "E" minutes...
whereas the accepted answer "Counts" the column E data.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question