+ Reply to Thread
Results 1 to 3 of 3

Loop through tabs and return date and amount when amount is present

  1. #1
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Loop through tabs and return date and amount when amount is present

    I have a workbook with a tab for each month dating back to 2011. I need to pull the date and dollar amount each time column "J" has an amount in it, not including the "Totals" line at the bottom of each month. How do I do this?

    I've included a "Example Result" tab along with three sample tabs on the report. I'll be adding a new tab every month so I need to be able to keep it updated as time goes by.

    I'm working to learn VBA and I know I need to set up a loop to go through each worksheet and look for a value in column J that has a number value -9 columns over(this would help omit the "Totals" value at the bottom of each page) and return the value of the two columns(Date and VMI Invoices), plus the worksheet name that it was found on(worksheet name is used so I know what year the results are from....there might be an easier way to pull the year but I don't know of one).

    Thanks for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Loop through tabs and return date and amount when amount is present

    Here. Try
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: Loop through tabs and return date and amount when amount is present

    This will work, thanks for your help.

    This does return the "Totals" and other row that have something in column J but I can filter out those.

    This will save a ton of time, thank you!

+ 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. Replies: 2
    Last Post: 11-21-2014, 09:35 AM
  2. Replies: 2
    Last Post: 04-28-2013, 02:23 AM
  3. How to match Date and Amount from Sheet1 to Sheet2 with the same Date and Amount?
    By ims0phie in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-23-2013, 06:51 AM
  4. Formulas - count the amount of working weeks from a date until present date
    By Andrew_Franklin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2008, 09:23 AM
  5. index row, return dollar amount adding amount together
    By desk.doc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-27-2007, 12:11 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