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
Flora EdwardsMedicineAsked:
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
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.

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.
Price Your IT Services for Profit

Managed service contracts are great - when they're making you money. Yes, you’re getting paid monthly, but is it actually profitable? Learn to calculate your hourly overhead burden so you can master your IT services pricing strategy.

Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Thanks Arana! Glad you found it useful. :)
aranaCommented:
Can you please explain what the 9^9 is actually doing there?
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.
aranaCommented:
Get it now, thank you.
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome.
Flora EdwardsMedicineAuthor Commented:
Thank you very much.
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You're welcome Flora!
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.