Getting an average for cells containing formula

Faded06

New Member
Joined
Oct 30, 2021
Messages
2
Office Version
  1. 2016
Platform
  1. MacOS
Hello,

I have cells C5:C36 that contain a series of IF formulas (=IF(B5="L4(+)","95%",IF(B5="L4","85%",IF(B5="L4(-)","80%",IF(B5="L3(+)","79%",IF(B5="L3","75%",IF(B5="L3(-)","70%",IF(B5="L2(+)","69%",IF(B5="L2","65%",IF(B5="L2(-)","60%",))))))))) that reference the adjacent cells B5:B36. When I enter the desired text in the B column cells it returns the desired value in the C column just fine.

My issue is I now want to be able to average the values in the C columns (which are all percentages). However, when I use the Average function for the percentage value in the C column, it returns a Div/0 error.

I'm assuming that the Average function is reading the cells in column C as blank and so it returns the Div/0 error.
I've resorted to retyping the percentage values in the C column into the adjacent D column and then averaging those percents. This of course is redundant and time consuming.

I'd like a solution that would just average the returned percentage value in the C column.

Screen Shot 2021-10-30 at 3.46.38 PM.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
are they actually % or TEXT
"95%" is not a % is text and so that maybe the issue

is the column formated as text or % ]if % then
change to the % value ie

=IF(B5="L4(+)",0.95,IF(B5="L4",0.85,IF(B5="L4(-)",0.8,IF(B5="L3(+)",0.79,......etc
 
Upvote 0
Solution
Wow! Thank you so much. Such a simple solution and it works perfectly!
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top