+ Reply to Thread
Results 1 to 3 of 3

Concatenate function doesn't work for cells with numerical/date values

  1. #1
    Registered User
    Join Date
    12-21-2016
    Location
    Chicago, Illinois
    MS-Off Ver
    2013
    Posts
    2

    Question Concatenate function doesn't work for cells with numerical/date values

    Hello,

    I am trying to concatenate numerical date values in a cell but Excel keeps returning '#VALUE!' errors no matter what I try. I've tried reformatting the numbers into text, number, general, and date, but I still get the same error.
    I can concatenate text just fine, but as soon as I introduce any numbers I get the error.

    Specifically, I am trying to format date values into quarterly data using this formula: =YEAR(A2)&": Quarter "&ROUNDUP(MONTH(A2)/3, 0)
    I am using the YEAR function to attain the year from the data value, and the ROUNDUP function to attain the quarter of the year the date is in. I have tested the ROUNDUP function and its contents and made sure it returns the correct values, I just seem to get an error when I concatenate by using the formula above, or any variations of it.

    This formula worked fine on a different file on my Mac, but now when I'm working on Windows it doesn't seem to work; I'm suspecting I might be using the wrong code for Windows, or there is something wrong in my settings. Any suggestions would be greatly appreciated!

    Thanks!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Concatenate function doesn't work for cells with numerical/date values

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Concatenate function doesn't work for cells with numerical/date values

    With your example =YEAR(A2)&": Quarter "&ROUNDUP(MONTH(A2)/3, 0) I got: 2017: Quarter 1 with =today() in A2
    so what is wrong with it?

+ 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] CONCATENATE+TEXT+RANDBETWEEN+date format - doesn't work
    By sandy666 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-01-2015, 05:10 PM
  2. Replies: 9
    Last Post: 11-19-2014, 04:15 PM
  3. Min if function doesn't work for earliest date lookup
    By alexcrofut in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2014, 01:57 PM
  4. Macro doesn't work if fx run on different date from the current date
    By santhisrinivas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-11-2012, 01:08 PM
  5. DATE or NOW doesn't work in WIN 7 ?!?
    By YBrazeau in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-05-2010, 03:41 PM
  6. Replies: 6
    Last Post: 04-12-2006, 02:00 AM
  7. [SOLVED] the date format is not working ,sort by date doesn't work.
    By Rosa Campos in forum Excel General
    Replies: 1
    Last Post: 09-12-2005, 06:05 PM

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