LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default sumproduct

Originally theses macros worked out perfectly. The macro was setup to
divide the information within the one column into two categories: if
there was data in the column than it would be a resident and if there
was not text than it would be a commuter.

However the problem I have now is that I do not care about the cell
that contains no data and only would like to count the cells that
contain data. For instance, the name of the column is BUILDINGS and
the data within the column are the name of the buildings.

So now what I would like to know is how X buildings there are or Y
buildings there are but I also have to account for those blank cells
without including them.

Any suggestions?


Range("D15") = Evaluate("=sumproduct((Fall_2006_Cohort!
N2:N65536="""")*(Fall_2006_Cohort!AB2:AB65536))")

Range("D16") = Evaluate("=sumproduct((Fall_2006_Cohort!
N2:N65536<"""")*(Fall_2006_Cohort!AB2:AB65536))")

Thanks in advance.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
Sumproduct WBTKbeezy Excel Worksheet Functions 5 June 6th 06 07:59 PM
sumproduct help scott Excel Discussion (Misc queries) 2 June 5th 06 07:20 PM


All times are GMT +1. The time now is 12:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"