Skip to main content
Known Participant
November 14, 2023
Question

sum if for acrobat module.

  • November 14, 2023
  • 2 replies
  • 252 views

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

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
November 14, 2023

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

Known Participant
November 14, 2023

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

Known Participant
November 17, 2023

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;