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

Automatic Update on Excel

The_Hurricane
The_Hurricane Posts: 773 Forumite
edited 10 September 2013 at 12:28PM in Techie Stuff
Hi All,

I have a spreadsheet (spreadsheet_2) that I want cell A2 to be automatically updated by what is in cell D4 of spreadsheet_1.

At the moment I have used the following simple formula, however how would I go about using a VLOOP instead for this function?

='[spreadsheet_2.xlsx]sheet1!$D$4

Comments

  • Lum
    Lum Posts: 6,460 Forumite
    Part of the Furniture 1,000 Posts Photogenic Combo Breaker
    Anywhere in an excel formula that allows you to reference a cell can also reference a different spreadsheet by using the exact syntax you used there.

    e.g

    =VLOOKUP(A1,'D:\Documents\Lum\[Book1.xlsm]sheet1'!D5,3)
  • The_Hurricane
    The_Hurricane Posts: 773 Forumite
    edited 10 September 2013 at 12:38PM
    Hi,

    I tried the following formula but it's bringing up an error message.

    I've tweaked the names around so that the source spreadheet is called "August 2012" and the tab "Finances". It's supposed to find the current value in cell A6 which is "January" match the word January from column A of the August 2012 spreadsheet and return the corresponding value in column J.

    =VLOOKUP($A$6,'[August 2013.xlsx]Finances'!$A:$J,10,FALSE)
  • Lum
    Lum Posts: 6,460 Forumite
    Part of the Furniture 1,000 Posts Photogenic Combo Breaker
    should be =VLOOKUP not =VLOOPUP
  • paddyrg
    paddyrg Posts: 13,543 Forumite
    Be cautious about linking data between files - as soon as you move/email/anything one of those sheets you'll start getting warnings about not being able to update. Try to keep everything within the same file for an easier life.
  • Lum wrote: »
    should be =VLOOKUP not =VLOOPUP

    Thanks, that was the problem.
  • paddyrg wrote: »
    Be cautious about linking data between files - as soon as you move/email/anything one of those sheets you'll start getting warnings about not being able to update. Try to keep everything within the same file for an easier life.

    Valid points, however some of the spreadsheets have to be kept separate as they are too large to put onto the one worksheet.
  • Just following on from this formula, is there anyway to get the second occurence of A6 in the August spreadsheet returned instead of the first?


    =VLOOKUP($A$6,'[August 2013.xlsx]Finances'!$A:$J,10,FALSE)
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.5K Banking & Borrowing
  • 254.1K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.5K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178K Life & Family
  • 260.5K 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.