![]() |
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 |
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 |
All times are GMT +1. The time now is 05:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com