I have a column that has either the text value of DSM or eBiz I want to
be able to, in two other cells add up the number of times DSM appears
in one cell and the number of times eBiz appears in another cell. Is
there a way to say go through this column and if it equals DSM
increment one variable and if it is eBiz increment another variable,
and display the totals for each?--
jliz2803
------------------------------------------------------------------------
jliz2803's Profile: www.excelforum.com/member.php...oamp;userid=31498
View this thread: www.excelforum.com/showthread...hreadid=515782To do this, you need to use a matrix type formula.
Suppose your data is in cells A1:A10
In the cell you want the total number of quot;DSMquot; values, type the following
formula:
=SUM(IF(A1:A10=quot;DSMquot;,1,0))
IMPORTANT: Press and hold Ctrl-Shift and press Enter once you have typed in
the formula.
The formula will now appear as {=SUM(IF(A1:A10=quot;DSMquot;,1,0))}
The braces indictae this is a matrix type formula.
Proceed in the same way for the other cell:
=SUM(IF(A1:A10=quot;eBizquot;,1,0))
quot;jliz2803quot; wrote:
gt;
gt; I have a column that has either the text value of DSM or eBiz I want to
gt; be able to, in two other cells add up the number of times DSM appears
gt; in one cell and the number of times eBiz appears in another cell. Is
gt; there a way to say go through this column and if it equals DSM
gt; increment one variable and if it is eBiz increment another variable,
gt; and display the totals for each?
gt;
gt;
gt; --
gt; jliz2803
gt; ------------------------------------------------------------------------
gt; jliz2803's Profile: www.excelforum.com/member.php...oamp;userid=31498
gt; View this thread: www.excelforum.com/showthread...hreadid=515782
gt;
gt;
- Oct 18 Sat 2008 20:47
Totaling up a column
close
全站熱搜
留言列表
發表留言