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

2 次查看(过去 30 天)
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 !

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by