Sum and Index formula?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following index formula '=INDEX(PlanPax,A21,$B$4)' where cell B4
is the month number e.g. 3 for March. How could I amend the formula (and cell
B4) so that I sum January to March (or columns 1 to 3)?

Luke
 
Without knowing some specifics about your layout I can't give you a formula
example, but assuming your columns are Jan, Feb, Mar, etc I'd use something
like

=SUM(OFFSET(top_left_corner of PlanPax, A21,B4-2,1,3))

Duke
 
Assuming that you always need a three column offset, try:

=SUM(INDEX(PlanPax,A21,$B$4):INDEX(PlanPax,A21,$B$4+3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top