Survey data template problem

Pogie58

New Member
Joined
Jan 23, 2010
Messages
29
I have a spreadsheet and I can not figure what I am doing wrong with the formula when I copy it to another range of cells.

Here is the formula
=AVERAGE(IF(MOD(ROW('Survey Input'!G$2:G$2012)-ROW('Survey Input'!G$2),10)=0,'Survey Input'!G$2:G$2012,0))

When I moved it to the next group of cells it does not work, and I have a third group of cells to add it to. See below
=AVERAGE(IF(MOD(ROW('Survey Input'!G$5:G$2015)-ROW('Survey Input'!G$5),10)=0,'Survey Input'!G$5:G$2015,0))

The next group would be G8 G2018
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Certain formulas are called CSE formulas which is a shortcut name for an array formula.

Ctrl
Shift
Enter

Select the cell with the formula and press F2

This will put you in the edit mode for that formula

For a normal formula you would just press Enter, but in this case you will hold down the Shift key along with the Ctrl key and then press enter.

If done successfully you will see the formula wrapped in {}. Do not try an add these manually.
 
Upvote 0

Forum statistics

Threads
1,224,504
Messages
6,179,142
Members
452,892
Latest member
JUSTOUTOFMYREACH

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