If the cell is always the same on the different cells, then a 3-D reference will do what you need.
In other words, if you have twelve sheets named Jan,Feb,Mar...,Nov,Dec then these two formulae are equivalent:
So you could put in a series of 3-D formulae for your various months. Note that 3-D formulae just note the start and end sheets, so if you were to add another sheet/sheets in between your monthly sheets (e.g. 'Q1','Q2' etc) then those sheets $L$5 would be included as well. More info on 3-D references is here:
https://support.office.com/en-gb/art...a-b2ed54cc79a2
Dragging a 3-D reference down to change the end-sheet is harder, as Excel needs to know what to put in when you drag down. One way which might work for you is this:
On your summary sheet (where you're adding the data), put the names of your other sheets in a column
in order. Let's say you put your 12 months in A1:A12 (A1 - Jan, A2 - Feb, etc). In B1 put this formula and drag it down to B12:
This will give you the equivalent of
=SUM(Jan:Jan!$L$5) in B1,
=SUM(Jan:Feb!$L$5) in B2, etc, down to
=SUM(Jan:Dec!$L$5) in B12.
You'll get a
#REF error if the end-sheet doesn't exist - you could wrap the above formula in
=IFERROR(aboveformula,"") to get rid of those, if you want.
Attached is a file showing this working - the numbers in the L5 cells are just 1-12, so the sum is easy to see working.
Hopefully that's of some use?
Bookmarks