EXCEL: Can I get a count of a certain value from columns with certain headings, only from the columns with certain text?

Nieve K

A screenshot of the spreadsheet1

[1]: http://i.stack.imgur.com/2oAR0.png

Hi I am looking for a way (in the form of an Excel formula) that can do this

I need to count the number of "o" in columns with headings "Threat", for each row. For example, I need counts of "o"s in row 2, 4, 6, and so on, but only the "o"s in columns with heading "Threat" in row 1.

BUT it gets complicated, I need more. I need to distinguish the counts of "o"s, depending on if the cell beneath the "o" in columns "Threat" has the text "P" or "A".

So I need to find the way to count "o"s in row 2, only in columns with the heading "Threat", and only the "o"s with "P" in the cell underneath the "o".

Any advice will be greatly appreciated!

Edit: Come to think of it, since the "P"s and "A"s are in the same columns as "Threat", the heading can be taken out of the equation! So just need to find a formula that would help me count the number of a certain value in row 2, that are only in the column that has "P" in row 3.

teylyn

Try

=SUMPRODUCT(($A$2:$E$10="o")*($A$3:$E$11="P"))

Adjust the ranges to suit your sheet. Do not use with whole column references, unless you like staring at the "Calculating ..." message. If the spreadsheet grows, consider using dynamic ranges.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Remove text from excel columns with certain criteria

From Dev

SQL - COUNT columns from separate tables based on a certain value

From Dev

How can I count the number of integer occurences from a txt file from certain columns in Java?

From Dev

finding value in certain columns only

From Dev

How can I query multiple columns from a drop down menu and a count of a certain column

From Mysql

How to delete a certain value from columns in mysql

From Dev

How can I exclude certain 'columns' from a list of tuples?

From Dev

how to get certain columns from ps aux

From Dev

how to get certain columns from dynamodb aws

From Dev

How can I join datasets from multiple tables with only certain columns in EF Core?

From Dev

How can I populate my listbox with only certain columns from a worksheet?

From Dev

How can I split these columns from my table only in certain rows?

From Dev

Omit certain columns from analyses

From Dev

How can I get certain text from string in Lua?

From Dev

Pandas Sum & Count Across Only Certain Columns

From Dev

How to get a certain value from a text file

From Dev

Count how many times certain text combinations occurs in certain columns

From Dev

Only copy certain columns

From Dev

read only certain columns

From Dev

Return only certain columns

From Dev

Selecting certain columns from a table with dates as columns

From Dev

Count across columns if value is a certain character in R

From Dev

How can I style only certain columns in a div?

From Dev

How can i show only certain columns of data table in sql?

From Dev

Can an Athena table with only certain columns be created?

From Dev

How to get dynamodb to only return certain columns

From Dev

How to take only certain columns from a FILTER result?

From Dev

Copy only certain columns from one table to other and insert defa

From Dev

Pandas: Creating new data frame from only certain columns

Related Related

  1. 1

    Remove text from excel columns with certain criteria

  2. 2

    SQL - COUNT columns from separate tables based on a certain value

  3. 3

    How can I count the number of integer occurences from a txt file from certain columns in Java?

  4. 4

    finding value in certain columns only

  5. 5

    How can I query multiple columns from a drop down menu and a count of a certain column

  6. 6

    How to delete a certain value from columns in mysql

  7. 7

    How can I exclude certain 'columns' from a list of tuples?

  8. 8

    how to get certain columns from ps aux

  9. 9

    how to get certain columns from dynamodb aws

  10. 10

    How can I join datasets from multiple tables with only certain columns in EF Core?

  11. 11

    How can I populate my listbox with only certain columns from a worksheet?

  12. 12

    How can I split these columns from my table only in certain rows?

  13. 13

    Omit certain columns from analyses

  14. 14

    How can I get certain text from string in Lua?

  15. 15

    Pandas Sum & Count Across Only Certain Columns

  16. 16

    How to get a certain value from a text file

  17. 17

    Count how many times certain text combinations occurs in certain columns

  18. 18

    Only copy certain columns

  19. 19

    read only certain columns

  20. 20

    Return only certain columns

  21. 21

    Selecting certain columns from a table with dates as columns

  22. 22

    Count across columns if value is a certain character in R

  23. 23

    How can I style only certain columns in a div?

  24. 24

    How can i show only certain columns of data table in sql?

  25. 25

    Can an Athena table with only certain columns be created?

  26. 26

    How to get dynamodb to only return certain columns

  27. 27

    How to take only certain columns from a FILTER result?

  28. 28

    Copy only certain columns from one table to other and insert defa

  29. 29

    Pandas: Creating new data frame from only certain columns

HotTag

Archive