Results 1 to 4 of 4

Delete Columns Macro, Based on Creating a Fiscal Year, Based on Today's Date

Threaded View

  1. #1
    Registered User
    Join Date
    10-28-2016
    Location
    The Moon, Milkyway Galaxy
    MS-Off Ver
    2013
    Posts
    19

    Question Delete Columns Macro, Based on Creating a Fiscal Year, Based on Today's Date

    The doc has several columns such as types of fruit and location picked, then about 15 years, by month, of sale price for the fruit.

    I'd like to create a macro that checks the current date, then removes all columns outisde of the current fiscal year, July to June. So essentially:

    IF today is May 16th, 2018, Remove all columns with month and year between July 2017 - June 2018

    The trick is that we want to keep the original fruit type and location columns. So, only removing the SALE PRICE columns that don't have the current date's fiscal range. (these columns are fixed, luckily, E-BE)


    Ideas?
    Last edited by DemRulesDoe; 05-16-2018 at 10:36 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Return a text based on today's date (not considering year)
    By ricdamiani in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2018, 07:19 AM
  2. Calculating year in past and future based on today's date
    By larryd9466 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-09-2016, 01:04 PM
  3. [SOLVED] How to find a value based on fiscal year end
    By cobo1981 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-16-2014, 01:04 PM
  4. Creating a macro to delete columns based on a Range
    By 10999989 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-15-2013, 02:14 AM
  5. how to convert date to fiscal year if fiscal year start at 16th or 17th of July
    By sushil shakya in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2013, 03:32 AM
  6. [SOLVED] Create Fiscal Year - Lookup Date in Fiscal Month Date Range and Return EOM Date
    By gbriscoe in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2013, 03:29 PM
  7. Determining Fiscal Year based on date
    By ncmal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-15-2010, 04:46 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