Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jliz2803
 
Posts: n/a
Default Totaling up a column


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: http://www.excelforum.com/member.php...o&userid=31498
View this thread: http://www.excelforum.com/showthread...hreadid=515782

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Michael Glenn
 
Posts: n/a
Default Totaling up a column

To 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 "DSM" values, type the following
formula:

=SUM(IF(A1:A10="DSM",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="DSM",1,0))}
The braces indictae this is a matrix type formula.

Proceed in the same way for the other cell:

=SUM(IF(A1:A10="eBiz",1,0))



"jliz2803" wrote:


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: http://www.excelforum.com/member.php...o&userid=31498
View this thread: http://www.excelforum.com/showthread...hreadid=515782


Reply
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
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
IF/AND/OR/DATEIF Issue...sorry...long post... EDSTAFF Excel Worksheet Functions 1 November 10th 05 12:28 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 12:14 AM.

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"