Removing #DIV/0! using Average IF ERROR

cpmays

New Member
Joined
Apr 21, 2022
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I have a list of values from a lookup and I am trying to get the average across the row which is working fine. However, if someone doesn't rate any questions and they are all blanks, rather than the #DIV/0! I need it to be a zero due to Power BI tripping on this when refreshing. I can't remove the row as it's pulling from SharePoint and it'll just refresh the blanks.

The formula I am using is:

=AVERAGE(IF(ISERROR(A4:X4),"",A4:X4))

Any suggestions?
 
Where are these 500 pre-populated cells?
Note that if you are trying to autofill formulas in column A, it will only go as far down as there are continuous populated rows in column B.
In your posted example, I don't see column B populated after cell B71, so it appears that it is behaving exactly as expected.

The information is coming from the "owssvr" sheet noted in the VLOOKUP formula.

Once I went to row 71 and just dragged the formula down and it populated the cells. I dragged it down to 1000 to when the owssvr sheet updates from SharePoint it will update this sheet.
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
The information is coming from the "owssvr" sheet noted in the VLOOKUP formula.

Once I went to row 71 and just dragged the formula down and it populated the cells. I dragged it down to 1000 to when the owssvr sheet updates from SharePoint it will update this sheet.
Note that FillDown only looks at the populated cells on the adjacent columns in the current sheet.
It does not FillDown based on data found on other sheets.
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

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