simple SUM formula but cannot get my head around it how to solve it.

please see attached. how can i put a single formula in G2 and drag down and it will work just like it is shown in Column G.

thanks.
Book1.xlsx
LVL 6
FloraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee IngallsDirector of IT/TS, Quality and FinanceCommented:
Is column G the SUM of column 1 & column F?
Add you calculation then drag it down...

You may have to populate column A with the values of each section; otherwise it will use A2 for each.
calc.jpg
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Try this...
In G2
=INDEX(A$2:A2,MATCH(9^9,A$2:A2))+F2

Open in new window

and copy it down.
3

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aranaCommented:
good one Neeraj, I'm sure I have needed this many times and i've come with a number of ways to do it but none of the so clean and tidy.
1
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Thanks Arana! Glad you found it useful. :)
0
aranaCommented:
Can you please explain what the 9^9 is actually doing there?
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
9^9 returns just a large number which is not supposed to be in lookup column and with match_type with True, Match finds the last number in the lookup column.
0
aranaCommented:
Get it now, thank you.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome.
0
FloraAuthor Commented:
Thank you very much.
0
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Flora!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.