Hi,
I tried to use an array to calculate the mean score for a column: if a cell has a value 'A', then it is assigned a value 1, if 'B', then 2, if 'C', then 3.
But this resulted an error. Can you have a look at the file attached here. Thanks.
Hi,
I tried to use an array to calculate the mean score for a column: if a cell has a value 'A', then it is assigned a value 1, if 'B', then 2, if 'C', then 3.
But this resulted an error. Can you have a look at the file attached here. Thanks.
hi BNCOXUK, does an AVERAGE work for you?
=AVERAGE(IF(A1:A3="A",1,IF(A1:A3="B",2,IF(A1:A3="C",3,""))))
a NAME error basically means you spelled the formula wrongly or there's no such formula
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
Use AVERAGE() instead of MEAN()
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks