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!

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 :-(
Filiss

Comments

  • intel
    intel Posts: 6,404 Forumite
    1,000 Posts Combo Breaker
    sum=(d1:d59) but put this formula in d60.

    I could be way out as im so rusty.
  • gustav
    gustav Posts: 243 Forumite
    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 know nothing - really!!
  • Stompa
    Stompa Posts: 8,383 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    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!

    Stompa
    Stompa
  • 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!
  • robnye
    robnye Posts: 5,411 Forumite
    Part of the Furniture Combo Breaker
    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 answer
    smile --- it makes people wonder what you are up to.... ;) :cool:
  • Quickest way is:

    =SUMPRODUCT(F2:F59,D2:D59)

    and it gives the correct answer.
  • tigermatt
    tigermatt Posts: 1,925 Forumite
    1,000 Posts Combo Breaker
    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))
  • 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 Excel
    Be ALERT - The world needs more LERTS
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

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

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.