Solved

Countif

Posted on 2013-11-18
2
307 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

Independent Software Vendors: 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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

733 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