Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Countif

Posted on 2013-11-18
Medium Priority
343 Views
Hi,

I have attached a ss where im trying to build some analysis.

In tab "Analysis" i would like to count the number of instances where ratings have changes

STD to HIGH
HIGH to STD
etc

In tab input D1 there is previous rating and current rating, in tab "Loookup Tables" i have rated High=1, MED=2 & STD =3.

So if 15 records moved from STD to HIGH and 23 from HIGH to STD, the countifs would return

15
23

Can someone suggest the countif?

Many thanks
Seamus
EE-Analysis-Template.xlsx
0
Question by:Seamus2626
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 23

Accepted Solution

NBVC earned 2000 total points
ID: 39656264
Try:

=SUMPRODUCT(('Input D1'!\$DQ\$2:\$DQ\$1306="Standard")*('Input D1'!\$DW\$2:\$DW\$1306="Medium"))

and change the criteria as required.

If you were to input the first criteria down the left column, e.g. Standard, Medium, High, etc

and then the same criteria across the top row, then us can use the formula

=SUMPRODUCT(('Input D1'!\$DQ\$2:\$DQ\$1306=\$A9)*('Input D1'!\$DW\$2:\$DW\$1306=B\$8))

where A9 and B8 are the first column/row headers to compare, then you can copy formula across and down, instead of manually changing the criteria in each formula.
0

Author Closing Comment

ID: 39656314
Perfect!

Thanks NB_VC
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
###### Suggested Courses
Course of the Month4 days, 13 hours left to enroll