Solved

Countif

Posted on 2013-11-18
2
234 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
2 Comments
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
Comment Utility
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
Comment Utility
Perfect!

Thanks NB_VC
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
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…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

744 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now