+ Reply to Thread
Results 1 to 3 of 3

Date functions YEAR, MONTH, EOMONTH do not work for the array format?

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Date functions YEAR, MONTH, EOMONTH do not work for the array format?

    Hi All, I tried to use the array format for the date functions such as YEAR, MONTH, EOMONTH.

    It seemed that they are not applicable. For example, DATE(YEAR(A1:A10),1), with array applied Ctrl+Shift+Enter will produce unexpected results

  2. #2
    Forum Moderator daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,676

    Re: Date functions YEAR, MONTH, EOMONTH do not work for the array format?

    Are you trying to accomplish a specific task? Perhaps give some details of what you want to calculate.

    Year and other date functions can normally accept array inputs....but the result will also be an array so you either need to enter the formula in a range in excel to return that whole array, or use the resultant array within another function that can handle arrays.
    Audere est facere

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    London
    MS-Off Ver
    Excel 2003 Excel 2010
    Posts
    189

    Re: Date functions YEAR, MONTH, EOMONTH do not work for the array format?

    Interesting. It does work for date functions. 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. day/month/year in incorrect format for date format
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 09:05 AM
  2. [SOLVED] day/month/year in incorrect format for date format
    By M&A_Jack in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  3. [SOLVED] day/month/year in incorrect format for date format
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  4. [SOLVED] day/month/year in incorrect format for date format
    By M&A_Jack in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. [SOLVED] day/month/year in incorrect format for date format
    By M&A_Jack in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

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