Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2011, 05:40 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default Count If Formula

I need a little assistance on a fomula.

I have a tracking sheet that tracks steps in a process...by Column...

So Column C is the first step...D is the second. E is third and so on and so on.......No cell in Column D or E will ever get completed until the previous Cell..completed. and it is always a date.

I want a fomula that will count all of the Blank Cells in a column, but I only want it to count them if the Cell to the left has a Date in it.

This will tell me how many items in this piece of the process yet need to be completed.

I am able to get the count if....but the way I have it it counts all blanks in the column......

any help is appreciated.



Thanks
Reply With Quote
  #2  
Old 06-15-2011, 07:27 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Count If Formula Windows 7 32bit Count If Formula Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi,

This formula will return a count where cells in column C have a date and cells in column D are blank:
Code:
=COUNTIFS(C:C,">0",D:D,"=")
__________________
Colin

RAD Excel Blog
Reply With Quote
  #3  
Old 06-15-2011, 07:54 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

thanks Colin

that appears to be close...but as I run this out a few columns.....it is still calculating...this runs the same sequence out to comumn N.

but it appears to me that if the first column has a date in it...it is still counting this as my main requirement to check for blanks in the cell to the right.

Do I need to add something to say that if Column to is 0> and not blank?
Reply With Quote
  #4  
Old 06-15-2011, 08:22 AM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Count If Formula Windows 7 32bit Count If Formula Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Hi,

Please can you attach a workbook with a small (!) data sample and explain what results you want to see?
__________________
Colin

RAD Excel Blog
Reply With Quote
  #5  
Old 06-15-2011, 08:39 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

Here is a sample

The row at the top is to count the blanks....and I tried to modify so the numbers should change

but if there is a date in the column...and a blank to the right...that should be counted. if there is no date in a column...and a blank to the right...it should not be counted.

Column C appears correct to me.
Attached Files
File Type: xlsx counting blank formula.xlsx (9.5 KB, 11 views)
Reply With Quote
  #6  
Old 06-15-2011, 10:55 AM
OTPM OTPM is offline Count If Formula Windows 7 32bit Count If Formula Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
Please find herewith a solution. The issue is because after the first formula you were creating a circular reference in the other columns. By inserting an extra column between each of your columns and putting the formula in each blank column avoids the circular reference problem.

I am sure Colin will come up with a more efficient solution.

Hope this helps.
Tony (OTPM)
Attached Files
File Type: xlsx Counting Blank Formula.xlsx (11.8 KB, 10 views)
Reply With Quote
  #7  
Old 06-15-2011, 11:15 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

yeah, that does work....kinda

is that just becuase the formulas are side by side...or is it the actual columns of data?
Reply With Quote
  #8  
Old 06-15-2011, 11:35 AM
OTPM OTPM is offline Count If Formula Windows 7 32bit Count If Formula Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
Here is a better version. It will calculate rows from row 3 to row 1000, you can chnage this to suit. The issue was the calculation was working on the same cell that contained the formula hence the circular reference.
Hope this helps.
Tony (OTPM)
Attached Files
File Type: xlsx Counting Blank Formula.xlsx (10.7 KB, 12 views)
Reply With Quote
  #9  
Old 06-15-2011, 11:45 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Thumbs up

oh dang

that made it look all but to easy
Reply With Quote
  #10  
Old 06-16-2011, 11:54 AM
beb1227 beb1227 is offline Count If Formula Windows XP Count If Formula Office 2007
Novice
Count If Formula
 
Join Date: May 2011
Posts: 18
beb1227 is on a distinguished road
Default

was wondering. on a larger but similar sheet. I have tracking by regions of the Country....NW, SW, E, W etc...

any suggestions on how to have this be broken down.....say Column A has the regions and I want to have do the formula above...if A = SW


This would be used to create a table to break down the # of items received by region...


Thanks
Reply With Quote
  #11  
Old 06-19-2011, 11:19 AM
OTPM OTPM is offline Count If Formula Windows 7 32bit Count If Formula Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
Can you post a sample of your spreadsheet and we will try and help you.
Tony (OTPM)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word count question Wuffybrother Word 3 03-22-2019 03:40 AM
Count If Formula Count in Excel zanat0s Excel 3 06-09-2011 10:53 AM
Don't count hidden slides Lu_Argentina PowerPoint 0 10-12-2010 02:12 PM
How to Count from Different Cells? Shahzad Excel 3 06-26-2010 01:06 AM
Don't count 0 in a chart Rmaisone Excel 0 08-21-2006 12:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft