Excel version of QlikView 'aggr' function -


i wonder if can me. i’m working excel 365 (with power bi plugins).

i have seems simple problem solve through googling have not found answer.

my outcome show how many times ‘x’ has been given location.  

location table (this pivot table) locations   visits  x1      2 x2      2 x3      2 x4      2 x5      2 x6      2 x7      2 x8      2 x9      2 x10     2 x11     2 x12     2 x13     2 x14     2 x15     2 x16     2 x17     2 x18     2 x19     2 x20     2 x21     2 x22     2 x23     2 x24     2 x25     4   

  turn data in ‘location table’ ‘times visited’ table below  

times visited table times visited   count 2                 24 4                 1 

  created table counting how many times ‘2’ , ‘4’ appears in ‘location table’  

this shows that: 2 appears 24 times (i.e. 24 x’s have been ‘location 1’ 2 times) 4 appear once (i.e. 1 x has been ‘location 1’ 4 times) 

  solved using qlikview proving difficult me in excel 2013. in qlikview can use function called ‘aggr’.   have ideas how can solve in excel 2013?

in excel can use countif method. method takes 2 parameters, range of values & criteria. if set range of values 'visits' & criteria visit number should results looking for.

enter image description here


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -