• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
8

If Then and Average Formula in PDF using Checkboxes

Explorer ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

Hi Everyone,

 

I am trying to a formula which I believe would be an "IF, THEN" formula for my performance evaluation form. Basically what I need to happen is that if a checkbox is selected in a row in any of the 5 columns (i.e., unacceptable, Needs, Meets, Exceeds, Outstanding) with each worth a score between 1-5 respectively, then in the total column it will reflect a number between 1-5 according to the rating scale (see screen shot below). So if the Unacceptable box is checked in the first row, the Score should equal 1; 

Diana32963289q2sp_1-1705729447555.png

I am also looking for an average formula to average all the numbers out to 1 whole number

Diana32963289q2sp_2-1705729571582.png

 

Can you please help me? 

 

Thank you so much!

TOPICS
PDF , PDF forms

Views

579

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

You don't need script for this, give each checkbox export value to be the score for that checkbox, for example give 'Unacceptable' checkboxes export value 1, 'Needs' export value 2...etc (you can set export value in checkbox field properties, under 'Options' tab)

Now just go to text field properties and under 'Calculate' tab select 'Value is the' (Sum+) and pick checkboxes.

Do the same for average, just instead of Sum+ select (average) and pick fields you wish to get average score.

View solution in original post

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

The screenshot shows essentially what I want to happen as the end result

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

@Thom Parker Can you help me with this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 19, 2024 Jan 19, 2024

Copy link to clipboard

Copied

You don't need script for this, give each checkbox export value to be the score for that checkbox, for example give 'Unacceptable' checkboxes export value 1, 'Needs' export value 2...etc (you can set export value in checkbox field properties, under 'Options' tab)

Now just go to text field properties and under 'Calculate' tab select 'Value is the' (Sum+) and pick checkboxes.

Do the same for average, just instead of Sum+ select (average) and pick fields you wish to get average score.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 22, 2024 Jan 22, 2024

Copy link to clipboard

Copied

Thank you so much for your help! I was given a formula before for this type of form but for some reason it was no longer working. This method is much simpler. Thanks a million!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

Hi Nesa,

 

I have a followup question to this. On this same form, there is a question for just managers (see screen shot). Currently, the average formula is calculated all scores from each section. Is there a way to have the average only calculate scores that have a score between 1-5 in each section rather than including all sections even if they don't apply? Does that make sense? 

 

So for this scenario, only the above section applies and I'd like the average to only average the scores from the 7 questions above. But if there is a score in the next section, then include that in the average too.

 

Diana32963289q2sp_0-1709066177709.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2024 Feb 27, 2024

Copy link to clipboard

Copied

This would require custom script, can you share file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 10, 2024 Oct 10, 2024

Copy link to clipboard

Copied

LATEST

I am doing a similiar thing and am not able to make it work for me.   There are 18 questions, each valued 1-4 based on the rating.  When I select the numbers I want to average, it averages it against ALL of the options.  There are 70 checkboxes and I only want the average of the ones the user has selected.  Right now, it is giving me the average of all POSSIBLE boxes.  When I choose 'sum', it just adds the value I have assigned them.  The user has an option to select N/A for each row.  How can I get the average of ONLY the boxes that are selected?

(Sorry, I'm a teacher so all of this is waaay out of my wheelhouse.)

r_7951_1-1728560857653.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines