Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a table like this and need to count the number of rows (not number of cells) that contain specific text for a result like this.
ABC 3
DEF 2
For O2016 you can use following array formula:
=SUM(--(MMULT(--($A$1:$D$6=A10),TRANSPOSE(COLUMN($A$1:$D$1)^0))>0))
Array formula after editing is confirmed by pressing ctrl + shift + enter
With Excel 365, use:
=SUM(IF(COUNTIF(INDIRECT(SEQUENCE(6) & ":" & SEQUENCE(6)),"ABC")>0,1,0))
where 6 is the number of rows; and similar for DEF
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I would like to Pivot on row values to get Counts for my below data.
Expecting output to look like
I do not think you should (or can ?) use Pivot.
Some formulas like these should give needed values.
Note:
$F4 refers to the cell containing "Proficient"
$F5 refers to the cell containing "Enhusiast"
$F6 refers to the cell containing "Amateur"
A$2:A$10 refers to your data
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
So I have a few cells with a numeric value in parentheses. I'd like to count how many times each fruit occurs (apples, oranges, bananas) but also count the values in the parentheses as a sum. How would I go about this?
in D1:
=SUM(($A$1:$A$12=C1)+((LEFT($A$1:$A$12,LEN(C1))=C1)*IFERROR(--MID($A$1:$A$12,FIND("(",$A$1:$A$12)+1,FIND(")",$A$1:$A$12)-FIND("(",$A$1:$A$12)-1),0)))
Array formula So confirm with Ctrl-Shift-Enter instead of Enter when exiting edit mode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I have Data in one column (m), the data contains a number of blanks & I want to be able to count the number of unique occurances that begin with the number 2.
Use:
=SUMPRODUCT((LEFT(M1:M16)="2")/(COUNTIFS(M1:M16,M1:M16)+(M1:M16="")))
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have 2 columns, each with a numeric value. The third column is the PRODUCT of the first 2 columns but it is just numbers. I want to in the format of $xxxx.00 rather than xxxx.
What can I do to achieve this?
RIght click on the column header and choose Format Cells
Format the cell to currency. It's a command on the Home ribbon.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
Evening all:
I am trying to sum number values from a column based off a value from a different. How can I do this? =Sum(A)? I want to add the values of A based off the 10 from B.
Here is a simple screen shot of what I want to try to do:
You can use a SUMIF to accomplish what I believe you are going for. In cell C1 in your example:
=SUMIF(B:B,B1,A:A)
That would put the sum next to each occurrence of the value in column B. You could copy only the uniques from column B and do the same if that is what you're looking for: