how to to do some kind of SUMIF (Excel) by using a loop.

2 visualizzazioni (ultimi 30 giorni)
Hi all,
I would like to sum some dummy variables if they correspond to a specific value in another column on the same row.
here is an example :
etc...
Once i get the proportion of Dummy that are equal to 1 every year and plot it.
Do you have any idea how to do that by using a loop ?
Thanks !

Risposte (1)

the cyclist
the cyclist il 24 Set 2014
Isn't this exactly what you asked in this previous question, which I answered?

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by