Solved

EXCEL FORMULA TOTALING COLUMN BASED ON TWO CRITERIA

Posted on 2013-01-14
5
334 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
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

770 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