Solved

countif and sumif

Posted on 2014-02-10
5
336 Views
Last Modified: 2014-02-10
Hi Expert's excel 2007

I have in cell d2 weekly!d6:d50 and in cell h2 =countif(indirect(d2),"")

the count if formula give an answer of 16. When the correct answer is 29..
what's wrong. .
0
Comment
Question by:route217
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:itjockey
ID: 39846947
Can provide your Sample workbook?
0
 

Author Comment

by:route217
ID: 39846959
Sorry cannot upload file from my location.
0
 
LVL 8

Assisted Solution

by:itjockey
itjockey earned 250 total points
ID: 39846982
try this
=count(indirect(d2),"")

Open in new window



Thanks
0
 
LVL 31

Accepted Solution

by:
Rob Henson earned 250 total points
ID: 39847095
The formula as is works, it will count the number of blanks in the defined range.

Are you sure that all 29 that you are expecting it to count are actually blank. The cells could contain just a space which makes the cell appear to the human eye as blank but Excel sees it as not blank.

Apply an Autofilter to the column and use the dropdown to select Blanks. Those that appear to be blank should show even if they contain just a space; foible of Excel, it counts space as not blank in formulae but shows it in a blank filter.  

If the cells contains just an apostrophe excel will see this as blank in both cases, formula and filter.

You can then highlight the visible cells and press delete key. This will delete the spaces and other non-visible characters.

Thanks
Rob H
0
 

Author Closing Comment

by:route217
ID: 39847191
Thanks for feedback.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
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…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

758 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

25 Experts available now in Live!

Get 1:1 Help Now