Issue creating an average based on cells with formulas

lukertomlinson99

New Member
Joined
Nov 6, 2023
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hi,

If I have a cell that uses a formula to work out a result and that then pumps out a value. Why when I am trying to create a average for those generated numbers in a column does it not work and pumps out #DIV/0! rather than the average of the generated numbers. I have a feeling it is due to the cells being based on a formula but surely there is a work around.

Example from data:
=IF($A$5="C1 - Mid (F)",(IF(E5>='base info KS4'!$C$7,"5",IF(E5>='base info KS4'!$C$6,"4",IF(E5>='base info KS4'!$C$5,"3",IF(E5>='base info KS4'!$C$4,"2",IF(E5>='base info KS4'!$C$3,"1",IF(E5>='base info KS4'!$C$2,"0"))))))))
This pumps out for example the number 5 then the next is 4 and 3.
When I average them =AVERAGE(F5:F8) it doesn't work?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
It is because you are writing characters not numbers with your equation.
Change "5" to 5 , "4" to 4 , "3" to 3 etc
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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