Summing text ouput in a column of formula

Carideom

New Member
Joined
Nov 4, 2011
Messages
1
Excel Issue: I've got columns of formulae. There is a reference column of text values (they happen to be model numbers). The formula cell examines the model number cell, and, if one of the criteria in the formula cell is 'met', the appropriate text value is written to the target cell (formula cell). If none of the criteria are met, the cell writes a 'space', or CHAR(32) in the target cell. I then take these 15, or so, columns of over 10,000 rows of formula cells and create a 'Table' so that 'counting' at the bottom of each column is handled quite nicely by the 'SUMTOTAL' function. This is all well and good except for one thing, when I attempt to 'count' the cells in a given column that exhibit visible 'text', indicating that one of the criteria have been met, the 'SUMTOTAL' formula counts ALL the cells, including those with "space" written in them. I want to count only the cells with "visible text"!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Can someone tell me how to stop counting the formula cells "displaying" the CHAR(32) (space) character?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Instead of a space (Char(32)) if no criteria are met, put "" in the formula. That leaves the cell empty, so it shouldn't be counted. (I'm pretty sure, LOL)

Jenny

If none of the criteria are met, the cell writes a 'space', or CHAR(32) in the target cell.
Can someone tell me how to stop counting the formula cells "displaying" the CHAR(32) (space) character?
 
Upvote 0

Forum statistics

Threads
1,203,462
Messages
6,055,564
Members
444,799
Latest member
CraigCrowhurst

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top