Solved

Countif

Posted on 2013-11-18
2
325 Views
Last Modified: 2013-11-18
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
Comment
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
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 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

by:Seamus2626
ID: 39656314
Perfect!

Thanks NB_VC
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question