+ Reply to Thread
Results 1 to 2 of 2

Using two excel sheets

  1. #1
    Registered User
    Join Date
    04-09-2016
    Location
    VA, USA
    MS-Off Ver
    360
    Posts
    6

    Using two excel sheets

    Hi,
    I would like to retrieve information from my VA 2014 excel sheet to use on my July 2017 P & L excel sheet.
    Column L on the VA 2014 contains dates and Column M contains currency.
    I would like to retrieve from 07/01/2017 through 07/31/2017 in column L and then add the currency in column M.

    I believe the start should be, =IF('[VA 2014.xlsx]2017'!$L:$L

    This is where I can't figure out how to command it to get just the July dates and then add, '[VA 2014.xlsx]2017'!$M:$M))

    Any help would be appreciated.

    Thanks,

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Using two excel sheets

    Without seeing sample file(s) it's difficult to be sure, but you probably want something like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It's an array formula, so enter it using Ctrl-Shift-Enter, not just Enter. You should see curly brackets {} appear round your formula (don't try to enter them yourself).

    To get the values from column M, replace the first range $L$2:$L$100 with $M$2:$M$100:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag the formulae down as far as you need.

    Array formulae can slow down your file quite a bit if the range they're trying to index is too large, which is why I've limited the range to just rows 2:100 instead of the whole column L:L (or M:M). Obviously, I hope, if your data is in a lot more rows, then just increase the range ($L$2:$L$1500 for example).
    If your data in the VA 2014 file doesn't start on row 2, then you'll need to adjust the formulae slightly. Before the ROW(1:1) part, there's a -1. That number needs to be whatever the result of 'row 1 - starting row number' is (so if your data starts on row 3, it would be 1-3 so -2.

    Hope that helps (and makes sense ).
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compare Sheets and Display the previous sheets column in current sheets
    By maddyrafi1987 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-09-2017, 04:03 AM
  2. [SOLVED] Excel VBA - check to see if sheets is visible AND within range of specific sheets
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2016, 02:01 PM
  3. Replies: 0
    Last Post: 11-03-2014, 11:46 AM
  4. Copying sheets from a closed workbook - Excel 2013 crashes Sheets.Add
    By perducci in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2014, 09:03 PM
  5. [SOLVED] Excel vba copy data from general sheets and organize them in separate sheets.
    By excelsubb in forum Excel Programming / VBA / Macros
    Replies: 40
    Last Post: 01-24-2013, 08:01 AM
  6. Replies: 6
    Last Post: 01-06-2010, 04:48 PM
  7. Replies: 1
    Last Post: 10-29-2009, 08:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1