Skip to main content
Known Participant
Nov 14, 2023 2:15 PM UTC
Question

sum if for acrobat module.

sum if of a column of modules if there is the word. house

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

try67
Community Expert
Community Expert
Nov 14, 2023 2:55 PM UTC

You need to provide more details if you want us to help you.

Translate
Known Participant
Nov 14, 2023 2:28 PM UTC

la parola casa è in un altro modulo, esempio modulo 1 9, modulo 2 34 sommarli se nel modulo M è uguale a casa

Translate
Known Participant
Nov 17, 2023 6:35 AM UTC

Ho risolto. Grazie

 

var total = 0;
for (var i=1; i<=21; i++) {
if(this.getField("....."+i).valueAsString=="...")
total+=Number(this.getField("...."+i).valueAsString);
}
event.value = total;

Translate