Hi,
I have a report as described in my attachment.
The record source of this Report is a Query. There are 6 columns (col1 through col6) which are calculated values. The values of Col1 through Col6 vary between 0, 1 or N/A.
I want to calculate the Percentage for each ID with the following calculation:
Percentage = Total Number of 1s in Col1 through Col6 / (Total Number of 1s in Col1 through Col6 + Total Number of 0s in Col1 through Col6)
What is the easiest way to accomplish this? I have 15 reports like this that I need to calculate percentage for and I was trying to accomplish this via VBA but I am getting no where.
Can anyone show me how this can be accomplished please?
I have a report as described in my attachment.
The record source of this Report is a Query. There are 6 columns (col1 through col6) which are calculated values. The values of Col1 through Col6 vary between 0, 1 or N/A.
I want to calculate the Percentage for each ID with the following calculation:
Percentage = Total Number of 1s in Col1 through Col6 / (Total Number of 1s in Col1 through Col6 + Total Number of 0s in Col1 through Col6)
What is the easiest way to accomplish this? I have 15 reports like this that I need to calculate percentage for and I was trying to accomplish this via VBA but I am getting no where.
Can anyone show me how this can be accomplished please?