+ Reply to Thread
Results 1 to 10 of 10

Concatenate date + date + value in kg

  1. #1
    Registered User
    Join Date
    07-01-2019
    Location
    ButterVille
    MS-Off Ver
    microsoft office 365 ProPlus
    Posts
    13

    Exclamation Concatenate date + date + value in kg

    Hi, i am trying to make a string with these 3 cells: 2 have a date and 1 has a numeric value in kg. sadly it comes out like this:

    martedì 19 dicembre 2017 (format dd/mm/yyyy)
    +
    mercoledì 24 gennaio 2018 (format dd/mm/yyyy)
    +
    108
    =
    430884312443111

    I tried to tell excel to read the date as a string but i'm not quite able yet... text function is not within my powers i guess...

    ATTACHMENT ADDED
    Attached Files Attached Files
    Last edited by ButterLord; 07-02-2019 at 04:52 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Concatenate date + date + value in kg

    What do you want it to return?

    You can't use date format on a cell that contains more than a simple single date or date/time value in it.

    Attach a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-01-2019
    Location
    ButterVille
    MS-Off Ver
    microsoft office 365 ProPlus
    Posts
    13

    Re: Concatenate date + date + value in kg

    Sell-in Sell-out Prezzo Promo Prezzo NO Promo Stima in CRT Realizzato in CRT Realizzato in KG
    martedì 19 dicembre 2017 mercoledì 24 gennaio 2018 11/01/2018 24/01/2018 0,99 1,39 50 60 108 kg
    martedì 19 dicembre 2017 mercoledì 24 gennaio 2018 11/01/2018 24/01/2018 0,99 1,19 50 120 216 kg
    martedì 19 dicembre 2017 mercoledì 24 gennaio 2018 11/01/2018 24/01/2018 0,99 1,23 50 60 108 kg
    giovedì 8 febbraio 2018 mercoledì 7 marzo 2018 22/02/2018 07/03/2018 0,99 1,39 80 90 162 kg
    martedì 20 marzo 2018 lunedì 16 aprile 2018 03/04/2018 16/04/2018 0,99 1,39 100 180 324 kg

    Hi Ali!! nice to see u! i m quite a newbie, i hope i' m not doing this wrong, this is what i m working on. i want to put in a cell on the right a sting that is the union of the two dates and of the kg column

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Concatenate date + date + value in kg

    Please attach a sample workbook.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    07-01-2019
    Location
    ButterVille
    MS-Off Ver
    microsoft office 365 ProPlus
    Posts
    13

    Re: Concatenate date + date + value in kg

    yeah i added the attachment in the main post =) thx! (i would like a text string in return, so i will use that as an unique link to link to clients) - i could aslo use the numeric result, but itat would make things much more complicated
    Last edited by ButterLord; 07-02-2019 at 04:42 AM.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Concatenate date + date + value in kg

    I think this is what you want (change to suit your locale):

    =TEXT(A2,"dd/mm/yyyy")&" "&TEXT(B2,"dd/mm/yyyy")&" "&I2
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-01-2019
    Location
    ButterVille
    MS-Off Ver
    microsoft office 365 ProPlus
    Posts
    13

    Re: Concatenate date + date + value in kg

    wow, awesome! it says i can't give u more reputation, but i will as soon as i am allowed! this is gold as much as u are!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Concatenate date + date + value in kg

    Don't worry - glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  9. #9
    Registered User
    Join Date
    07-01-2019
    Location
    ButterVille
    MS-Off Ver
    microsoft office 365 ProPlus
    Posts
    13

    Re: Concatenate date + date + value in kg

    Yeah thx a lot again!
    btw for italian fellas you have to translate the date format in the formula, or it'll fail
    =TESTO(M2;"gg/mm/aa")&" "&TESTO(N2;"gg/mm/aa")&" "&U2
    Ali ROCKS

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Concatenate date + date + value in kg

    That's why I said this:

    (change to suit your locale)
    Ali ROCKS
    Thanks.

+ 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 a date field keeping the date format
    By rrcrossman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2016, 04:28 PM
  2. [SOLVED] Concatenate a date?
    By pshearer in forum Excel General
    Replies: 2
    Last Post: 02-23-2016, 08:28 AM
  3. [SOLVED] concatenate & date
    By max_max in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-01-2013, 03:19 PM
  4. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  5. Date and CONCATENATE
    By Speclt in forum Excel General
    Replies: 3
    Last Post: 01-08-2010, 03:08 PM
  6. [SOLVED] [SOLVED] I know how to concatenate ,can one de-concatenate to split date?
    By QUICK BOOKS PROBLEM- in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-26-2005, 01:05 PM
  7. Date CONCATENATE
    By AYPCN in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-10-2005, 01:06 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