+ Reply to Thread
Results 1 to 7 of 7

function displaying the right values of dates and moneyamounts

  1. #1
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    447

    function displaying the right values of dates and moneyamounts

    Hi,

    I have a sheet with names, dates and money amounts in columns A,B and C. I have them all displayed together in column D with the function:
    = [@name]& " | " &[@Date] & " | " & [@Moneyamount].

    The problem is that "William | 44731 | 100" is displayed instead of "William | 19-6-2022 | ?100"
    How can i let the function display the right values?
    Attached Files Attached Files
    Last edited by MaartenRo; 08-26-2022 at 06:51 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: function displaying the right values of dates and moneyamounts

    Your epxected answers look a bit odd...


    Maybe this:

    =A2&" | "&TEXT(B2,"dd-mm-yyyy")&" | ?" &C2
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: function displaying the right values of dates and moneyamounts

    NB. The forum software has kindly replaced the Euro symbol with a ?. Use the formula in the file.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: function displaying the right values of dates and moneyamounts

    You can use this formula in D2:

    =A2&" | "&TEXT(B2,"dd-m-yyyy")&" | ?" &C2

    although you may need to use semicolons ( ; ) instead of commas ( , ) in the formula depending on your regional settings.

    Copy down as required.

    Hope this helps.

    Pete

    EDIT: The euro symbol has been replaced by a question mark.

  5. #5
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    447

    Re: function displaying the right values of dates and moneyamounts

    @Glenn, thanks that works!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: function displaying the right values of dates and moneyamounts

    So does Pete's, I think...

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  7. #7
    Forum Contributor
    Join Date
    02-27-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    2013
    Posts
    447

    Re: function displaying the right values of dates and moneyamounts

    @Pete thank you very much!

+ 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. Replies: 20
    Last Post: 07-30-2021, 02:10 PM
  2. Displaying values and function on a number of cells based on a list
    By sullivanstarship in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-29-2016, 05:03 PM
  3. Displaying subset of dates from a range of dates
    By DDE12 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 10-06-2015, 06:30 PM
  4. VBA Find Function and Displaying the other Column's Values
    By nori79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2015, 12:23 PM
  5. Replies: 2
    Last Post: 02-05-2013, 04:52 AM
  6. Replies: 7
    Last Post: 03-16-2009, 09:17 AM
  7. Replies: 1
    Last Post: 03-13-2009, 11:03 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