Solved

count number of items in column 'D' where cell 'G' [in same row] is not blank

Posted on 2014-01-06
2
248 Views
Last Modified: 2014-01-06
Happy new Year EE community

is there a formula to do this?

column 'D' contains text. i.e. Mon, Tues, Wed, etc

so, if D6=Mon and G6 is blank do not count

if D6=Mon and G6 is not blank count it

so, if D16=Wed and G16 is blank do not count

if D16=Wed and G16 is not blank count it

So what I want to end up with is a table that will show me

Mon = 10
Tues = 4
Wed = 9

etc

Obviously I can't use Countblank as I need to count items in two columns

Thanks
0
Comment
Question by:Jagwarman
2 Comments
 
LVL 13

Accepted Solution

by:
dhoffman_98 earned 500 total points
Comment Utility
You can do an if statement that says IF column D has a value, and column G has a value then to place a 1 in a hidden column farther to the right in the spreadsheet, and then have a SUM statement where you want your total count to show up that counts the values in the hidden column.
0
 

Author Comment

by:Jagwarman
Comment Utility
that works for me. Thanks
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now