Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Finding accumulated sum in grid

Posted on 2013-06-10
2
331 Views
Last Modified: 2013-06-10
I have a grid with key values in left column and top row and I want to accumulate the values in the grid dynamically.

See attached file!

I want the formula to find the right row using values in Col B and then give me the sum of all values on that row beginning with Col C and ending in a column  using values in row 2.

I was thinking sum combined with vlookup but I didn't get that to work. I am using excel 2003 now.
grid-example.xls
0
Comment
Question by:Mamarazzi
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39234690
Say you have input values in J2 and K2, for the column B and row 2 values respectively then you can use this formula

=SUM(OFFSET(INDEX(C$3:F$7,MATCH(J2,B$3:B$7,0),0),0,0,1,MATCH(K2,C$2:F$2,0)))

see attached

regards, barry
grid-example-barry.xls
0
 

Author Comment

by:Mamarazzi
ID: 39235023
That works just fine! Thanks a lot, Mr Houdini :-)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question