Solved

# EXCEL FORMULA TOTALING COLUMN BASED ON TWO CRITERIA

Posted on 2013-01-14
313 Views
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
Question by:BOEING39
• 3

LVL 18

Accepted Solution

krishnakrkc earned 500 total points
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

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

Author Closing Comment

That did it, thx Kris
0

LVL 43

Expert Comment

For 2007 or later

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

LVL 43

Expert Comment

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

### Suggested Solutions

EXCEL 2010 7 39
VBA code to clear all filter and select 1 43
integer8 values 1 10
How to compare data in excel 5 26
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.