+ Reply to Thread
Results 1 to 8 of 8

If date is upcoming, show in list in different tab

  1. #1
    Registered User
    Join Date
    02-08-2018
    Location
    London
    MS-Off Ver
    MS Office for MAC
    Posts
    12

    If date is upcoming, show in list in different tab

    Hi there,

    Im building a report where on one tab, we fill in all out training dates. On another tab in the same file, there is a dashboard that I want to show only upcoming trainings (if date is today or further ahead).
    So IF date there are dates that are upcoming in tab 2, I want the training information to show on tab 1.

    Hoping one of you gurus will be able to help figure out this formula as I seem to make mistakes and not figure it out.

    Thanks in advance!
    Attached Files Attached Files
    Last edited by AliGW; 10-11-2018 at 07:05 AM. Reason: Irrelevant section of thread title removed.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,750

    Re: HELP PLEASE! If date is upcoming, show in list in different tab

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-08-2018
    Location
    London
    MS-Off Ver
    MS Office for MAC
    Posts
    12

    Re: HELP PLEASE! If date is upcoming, show in list in different tab

    Hey Alan,

    Thanks for explaining how to get that file in there!! I was trying to add it in the "Menu bar" but it wouldn't let me. I have edited my post hoping this will make more sense

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,750

    Re: HELP PLEASE! If date is upcoming, show in list in different tab

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-08-2018
    Location
    London
    MS-Off Ver
    MS Office for MAC
    Posts
    12

    Re: HELP PLEASE! If date is upcoming, show in list in different tab

    thanks Alan for being so helpful!

    I'm not very experienced with code in Excel and have mostly used formulas. Please can you help me understand where I would input this code?

    Thank you SO much for your help, really appreciate it!

    Bella

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: If date is upcoming, show in list in different tab

    Please try at C7 drag to D7 and drag down

    =IFERROR(INDEX(Trainings!A:A,AGGREGATE(15,6,ROW(Trainings!$B$2:$B$99)/(Trainings!$B$2:$B$99>=TODAY()),ROWS(C$7:C7))),"")

    Then Change date format to column D

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,750

    Re: If date is upcoming, show in list in different tab

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

  8. #8
    Registered User
    Join Date
    02-08-2018
    Location
    London
    MS-Off Ver
    MS Office for MAC
    Posts
    12

    Re: If date is upcoming, show in list in different tab

    Thank you both for all your help - this works!!!!!

    SO thankful for your help and now my dashboard is complete! :D

+ 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] Return upcoming/past date based on date
    By Klopsik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2018, 05:15 AM
  2. [SOLVED] Show upcoming date - Excel formula
    By Sinep D in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2015, 06:08 PM
  3. Show upcoming occasions
    By Amit_H in forum Excel General
    Replies: 6
    Last Post: 04-27-2015, 04:45 PM
  4. Using CF to show upcoming due dates (in color)
    By 32 IS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2013, 06:53 AM
  5. [SOLVED] Macro to show upcoming date
    By pauld.ccvw in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 08-02-2012, 05:50 AM
  6. Date & time input interface and show upcoming events based on urgency
    By Alheksi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-04-2010, 08:26 AM
  7. Upcoming Date alerts
    By Trenton in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-31-2006, 04:55 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