Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

skipping cells autoflled formula

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Skipping cells in autoflled formulae

Skipping cells in autoflled formulae

ResolvedVersion 2007

Pete has attended:
Access Intermediate course
Excel Advanced course

Skipping cells in autoflled formulae

Hi,
Imagine, in cells A1:A24
I have numbers 1 to 20.

Now in B1:B5 I have want to have a formula that sums A1:A4, A5:A8, A9:A12, A13:A16, A17:A20, A21:A24.

If I put '=SUM(A1:A4)' in cell B1, and drag the formula down, or copy & paste, it won't work for obvious reasons.
How should I re-write that SUM formula, so it knows to 'slip' down 4 cells, rather than 1?

I need this so regularly, and for laaaarge volumes of data, !

with best wishes,
Pete

RE: Skipping cells in autoflled formulae

Hi Pete, thanks for your query. Make sure your data is in Column A and put this formula in cell B1 and autofill down:

=SUM(OFFSET(A$1, ((ROWS(A$1:A1)-1)*4),0,4))

Let me know that this works OK.

All the best,

Anthony

Mon 15 Mar 2010: Automatically marked as resolved.

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.