Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE | Excel Discussion (Misc queries) | |||
Conditional SUMPRODUCT or SUMPRODUCT with Filters | Excel Worksheet Functions | |||
sumproduct? sumif(sumproduct)? | Excel Worksheet Functions | |||
Sumproduct | Excel Worksheet Functions | |||
sumproduct help | Excel Discussion (Misc queries) |