Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel - Ignore Rows with filters

Reply  
Thread Tools
psmithy's Avatar
Junior Member with 4 posts.
 
Join Date: Aug 2009
Experience: Intermediate
03-Aug-2009, 12:42 AM #1
Question Solved: Excel - Ignore Rows with filters
Hello team!

My problem is similar to this post:
http://forums.techguy.org/business-applications/761733-solved-ignore-rows-certain-text.html

I have been working in a documet in Excel 2007 and I need to add up peoples hours according to two task catergories; Core & Non Core (Columns H & I). The hours are recorded in G.

Here are the formulas I'm using:
{=SUMIF(H1:H20721,"<>"&"",G1:G20721)} and {=SUMIF(I1:I20721,"<>"&"",G1:G20721)}

So if "H" or "I" is blank, don't use the hours in G for calculation. It works almost perfectly The only problem I am having is that I need to filter my info according to specific users.

This means, I have 30 users all with tasks in the data. If I filter on User A, that user will have a combination of Core Tasks and Non Core Tasks -

F G H I
(USER) (HOURS) (CORE) (NON CORE)
1 A 1.0 Scheduling
2 A 2.0 Leadership
3 A 1.5 Scheduling
4 A 0.5 Content
7 A 2.3 Email
10 A 0.7 Compliance
12 A 1.5 Meeting
13 A 1.0 Email
20 A 2.5 OHS
21 A 1.3 Meeting

I should get the following responses:
TOTAL = 14.3 {=SUBTOTAL(9,G1:G20721)}
TOTAL CORE (H) = 5 {=SUMIF(H1:H20721,"<>"&"",G1:G20721)}
TOTAL NON CORE (I) = 9.3 {=SUMIF(I1:I20721,"<>"&"",G1:G20721)}

When I apply my User filter, the formulas return a total value of the entire G Column (hours) instead of the hours pertaining to the user, i.e. they're all users ignoring the filter.

This is my formula for total hours {=SUBTOTAL(9,G1:G20721)} and this works perfectly for me when I apply filters.

Does anyone know a way to overcome my problem?

Appreciate any help you can give me
Jubbaloo's Avatar
Computer Specs
Member with 137 posts.
 
Join Date: May 2009
Location: Nottingham, UK
Experience: It depends
03-Aug-2009, 10:33 AM #2
Could you use PIvot Tables, this would allow you to filter data and still work with sophisicated Sums and counts if needed
psmithy's Avatar
Junior Member with 4 posts.
 
Join Date: Aug 2009
Experience: Intermediate
04-Aug-2009, 08:42 PM #3
Thanks - I worked it out. It was a long formula....SUMIFS worked.
Solving
Reply

Tags
excel, filter, ignore

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:55 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.