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!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Any Excel boffins out there? Help required

Hi,
I hope someone can enlighten me or at least tell me if this is not possible.
I want to create a spread sheet on excel where I am logging the value of some investments over specified periods (in this case quarterly). I want there to be a column which takes the values of the last 2 valuations, then works out the difference between them and provides a +/- figures to give me the growth / loss. This in itself is not a problem, but I want the comparison column to work out the diffrerentials on a rolling basis, i.e.

July October January Value (between last 2 values)
£xxx £xxx £xxx +/-£xxx

Basically, I want the value +/- column to show the difference between the last 2 valuations, july / October, october / January, january / april etc, but I dont want to have loads of the value columns on the worksheet.
Is there a way of doing this?
Many thanks :D

worktolive

Comments

  • WTFH
    WTFH Posts: 2,266 Forumite
    Ok, a couple of thoughts...
    1. Do it vertically, not horizontally, so column A is date, column B is value and column C is calculation
    You then could do...
    January £100
    April £110 (b2-b1)
    July £108 (b3-b2)
    If you copy down the calculation in column C it will then show you the +/- each time.

    ...alternatively, give me a couple of minutes to work out a more complex solution...
    1. Have you tried to Google the answer?
    2. If you were in the other person's shoes, how would you react?
    3. Do you want a quick answer or better understanding?
  • WTFH
    WTFH Posts: 2,266 Forumite
    The over-complex answer...
    Date in column A
    Values in B
    Lets say we have 15 rows plus the title row.

    Somewhere in column c, d, e, doesn't matter, put this in a cell...
    =(INDEX(B2:B16,COUNT(B2:B16),1)-INDEX(B2:B16,COUNT(B2:B16)-1,1))

    As long as you leave the future values blank, that will calculate the difference between the two most recent transactions (up to B16). If you want to go further, change B16 everywhere above to B99, or whatever you want.
    1. Have you tried to Google the answer?
    2. If you were in the other person's shoes, how would you react?
    3. Do you want a quick answer or better understanding?
  • paddyrg
    paddyrg Posts: 13,543 Forumite
    Post 2 would be the most universally accepted/cleanest method. I'd go with something based on that tbh.
  • Thanks,
    I'll give that a whirl and see what happens. Thanks fort taking the time to respond, appreciate it.
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
  • 353.7K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.8K Work, Benefits & Business
  • 603.2K Mortgages, Homes & Bills
  • 178.2K Life & Family
  • 260.8K 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.