We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel whizzes...please help!
LionKing
Posts: 446 Forumite
in Techie Stuff
Hi,
I am trying to put together an Excel spreadsheet but not sure which formula to use.
I would like to achieve the following:
(F2*D2)+(F3*D3)+(F4*D4)+(F5*D5)+(F6*D6)....and so on until (F59*D59)
I would like to display the result in F60.
Is there a quick way of acgieving this as there is a recurring theme or do i have to manually enter above formula.
I did try =SUM((F2:F59)*(D2:D59)) but doesn't work :-(
I am trying to put together an Excel spreadsheet but not sure which formula to use.
I would like to achieve the following:
(F2*D2)+(F3*D3)+(F4*D4)+(F5*D5)+(F6*D6)....and so on until (F59*D59)
I would like to display the result in F60.
Is there a quick way of acgieving this as there is a recurring theme or do i have to manually enter above formula.
I did try =SUM((F2:F59)*(D2:D59)) but doesn't work :-(
Filiss
0
Comments
-
sum=(d1:d59) but put this formula in d60.
I could be way out as im so rusty.0 -
K.I.S.S.
i would use another column, say g.
enter =f2*d2 into cell g2
then drag and autofill to g59
hide column g
enter sum(g2:g59) into f60
that should do itI know nothing - really!!0 -
I did try =SUM((F2:F59)*(D2:D59)) but doesn't work :-(
=SUMPRODUCT(F2:F59,D2:D59)
might work - except with a colon where the smiley is!
StompaStompa0 -
gustav wrote:K.I.S.S.
i would use another column, say g.
enter =f2*d2 into cell g2
then drag and autofill to g59
hide column g
enter sum(g2:g59) into f60
that should do it
I agree that should work fine !!To infinity and beyond!0 -
gustav wrote:K.I.S.S.
i would use another column, say g.
enter =f2*d2 into cell g2
then drag and autofill to g59
hide column g
enter sum(g2:g59) into f60
that should do it
yes that works
SUM((F2:F59)*(D2:D59)) doesnt work,
if you do it as 3 steps then it works but gives a different answer
sumproduct(f2:f59,d2:d59) also works but again gives a strange answersmile --- it makes people wonder what you are up to....
:cool:0 -
Quickest way is:
=SUMPRODUCT(F2:F59,D2:D59)
and it gives the correct answer.0 -
When I create Excel spreadsheets, I always use hidden columns and rows instead of typing in long formulas. It makes it easier to manage, quicker to create, and much tidier when a formula is viewed in the formula bar.
e.g. =B23 is much neater than =IF(B2=22," ",VLOOKUP(B2,C2:D6,3))0 -
Chippy_Minton wrote:Quickest way is:
=SUMPRODUCT(F2:F59,D2:D59)
and it gives the correct answer.
chippy_Minton has hit the nail on the head.He certainly knows his ExcelBe ALERT - The world needs more LERTS0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.5K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.5K Spending & Discounts
- 245.5K Work, Benefits & Business
- 601.5K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards
