+ Reply to Thread
Results 1 to 5 of 5

Vloopup for data in current month

  1. #1
    Registered User
    Join Date
    07-21-2014
    Location
    Hampshire
    MS-Off Ver
    2010
    Posts
    12

    Vloopup for data in current month

    Hi,

    I have a spreadsheet with a number of tabs on it.

    On the Weekly Report tab I have a table that pulls that data from the Project Data Tab.

    Key 7 Planview Milestone
    Baseline Forecast Actual
    1000 N.40000001 Proj 1
    1001 N.40000002 Proj 2
    1002 N.40000003 Proj 3
    1003 N.40000004 Proj 4
    1004 N.40000005 Proj 5
    1005 N.40000006 Proj 6
    1006 N.40000007 Proj 7



    What I am looking for is a formula that looks up against the PPL Code and returns in the Forecast Column which 'Next Gate' is planned for this month (I have the current month and next month in cells I1 & I2 on the Weekly Report tab. If there is no gate planned for this month then I would like it to return 'No'

    I've attached an example file for reference, usually the 'Project Data' tab has a list of many more projects, but for ease I have removed these from this attachment.

    Thanks
    Attached Files Attached Files
    Last edited by robmun50; 09-26-2014 at 11:40 AM. Reason: updating attached file

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Vloopup for data in current month

    See attached.

    I changed your data table to make it easier to author the formula in the "forcast" column.
    Attached Files Attached Files
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-21-2014
    Location
    Hampshire
    MS-Off Ver
    2010
    Posts
    12

    Re: Vloopup for data in current month

    I'm actually after the 'Next Gate' column to pull through, rather than the date.

    Also I've noticed that its only showing project 1000, even though the a couple of the others have dates in September.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Vloopup for data in current month

    Anything like this?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I might have missed something cause my formula does not include the next month in I2.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Vloopup for data in current month

    =IF(AND(INDEX(Table1,MATCH(B8,Table1[PPL Code],0),MATCH("Next Gate Date",Table1[#Headers],0))>=$I$1,INDEX(Table1,MATCH(B8,Table1[PPL Code],0),MATCH("Next Gate Date",Table1[#Headers],0))<=$I$2),INDEX(Table1,MATCH(B8,Table1[PPL Code],0),MATCH("Next Gate",Table1[#Headers],0)),"No")


    I highlighted in red the changes I made. First, I forgot to dollar-sign the date min and max, and I matched the "Next Gate Date" column instead of "Next Gate".


    See the attachment.
    Attached Files Attached Files

+ 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. [SOLVED] Determine work days in current month or next month based on day of the month
    By sbrnard in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-29-2014, 05:14 PM
  2. copy & paste data of current month
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2014, 08:37 PM
  3. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  4. [SOLVED] Macro to autofilter current month data
    By mangeshp4 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2012, 06:46 AM
  5. [SOLVED] Auto populate cells from data in a 6 month range starting with the current month
    By ecarnley349 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:32 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