+ Reply to Thread
Results 1 to 1 of 1

Define the function Quarter to be used in your Excel

  1. #1
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Lightbulb Define the function Quarter to be used in your Excel

    You could create an add-in (".xla"), that you load it every time you open excel, with formulas you use often that are not defined by Microsoft but by you.

    e.g. function Quarter(date, type)

    What the below code does is to take the date and convert it into a string with a certain format:
    if type is 0, then it will be e.g. CY14Q1
    if type is 1, then it will be e.g. FY14Q1
    Please Login or Register  to view this content.
    Good luck
    Last edited by adyteo; 03-07-2014 at 10:49 AM. Reason: PS I corrected the result of the function from FY2014 to FY14Q1
    Click on the star if you think I helped 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. Put Define Name in IF function
    By Shermaine2010 in forum Excel General
    Replies: 3
    Last Post: 08-19-2011, 05:08 AM
  2. Excel 2003: Define custom Hyperlink in cell that contains function
    By myCellEqualsNull in forum Excel General
    Replies: 2
    Last Post: 04-07-2010, 04:01 AM
  3. End of Quarter Function
    By covershaker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-21-2010, 01:23 AM

Tags for this Thread

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