Hello,
I found a discussion from 2015 (subject "sumif") that has a very helpful script for my current task.I wrote there my question but I don't know if people who participated in that discussion can see my question.
This script I found (slightly modified) and it works great for counting columns for each row where values are "0/0" (or whatever).
dt << New Column("Sum",
Numeric, Formula(
Local({i = 0, n = N Col(Current Data Table()) - 1},
Sum(Repeat({i++ ; (Column(i)[] =="0/0")}, n))
)
)
);
However, how to edit this script to count columns that Contain "some_character"?
I have attached a data table where the last column "Sum" has a formula and needed resulted numbers.
I have a big data table and would like to have a script for counting columns for each row with specific values (as character).
I tried to modify the script above but it doesn't work:
dt << New Column("Miss",
Numeric, Formula(
Local({i = 0, n = N Col(Current Data Table()) - 1},
Sum(Repeat({i++ ; (Contains(Column(i)[],"."))}, n))
)
)
);
Please, help
Valentina