I have a need to find an average percentage for a given row of numbers when each cell is divided by three. The kicker is that I have to use multiple criteria per cell to then work out what the percentage should be. A bit hard to explain but I have a formula that works fine however I know that there is an easier way to write this using a SUM formula and ranges and possibly INDEX and MATCH but i just can't get my head around it...
So this is the formula that I have at the moment:
Basically this formula looks through the range of C6:AG6 (albeit one at a time which is what I know I can do in one hit with a range) and if the cell contains a 0,1,2 or 3 it then divides that cell by 3. If the cell is greater than 3 AND it doesn't contain an "x" then it makes that value a 1 (anything more than 3 is classed as 100%). If the value of the cell is "x" then it is given a 0. Once it does this for each of the cells in that row it then adds them all together (I know this can be done by a SUM formula and a range) and then divides it by the value in cell AI6 to obtain and average percentage. Outside of all of this if there is an error it just displays a blank cell just to keep things looking nice.Please Login or Register to view this content.
Hopefully that makes sense. Basically I know that the above formula is very long winded and I am sure that there is a quick easy way to do this via an array formula or something but just can't get it to work. If someone could help out it would be great. The above formula works fine but just not knowing how to make it cleaner is just doing my head in....
Sorry if it is hard to read the formula.
Bookmarks