+ Reply to Thread
Results 1 to 4 of 4

Combining = & " as additional text with another Cell Reference..?

  1. #1
    Forum Contributor
    Join Date
    02-09-2016
    Location
    West Midlands
    MS-Off Ver
    2016
    Posts
    224

    Combining = & " as additional text with another Cell Reference..?

    Hi all!

    In the below Example i wont use quotation marks for my Cell Value in Column N as this may be confusing.

    I have a Values of Times in Column N for example;

    02:05:00

    In Column M i want it to Reference the Cell to its immediate right and add some characters to that value achieve the result of

    ="=02:05:00

    Im trying but its getting confused as i'm entering double quotes and its thinking i'm trying to achieve something else.

    Any help appreciated

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Combining = & " as additional text with another Cell Reference..?

    The problem is likely that your value is actually a TIME value.
    That is stored as a plain old decimal number in a cell... Time is stored as a decimal value, a portion of 1 day.
    So 2 hours and 5 minutes is actually about 1/12th of a day (+ the 5 minutes)
    In decimal value it's 0.0868055555555556

    So when you reference that cell with a concatenate operation ( & ), apply the text function to display the hours.

    Try
    ="="&TEXT(A1,"hh:mm:ss")

  3. #3
    Forum Contributor
    Join Date
    02-09-2016
    Location
    West Midlands
    MS-Off Ver
    2016
    Posts
    224

    Re: Combining = & " as additional text with another Cell Reference..?

    Thanks Jonmo!

    This helped me fix another problem so thank you!

    For the above i actually used ="""" to escape out the double quotes and use it as a character within my text.

    Your formula has helped all my previous data/time troubles so thank you.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Combining = & " as additional text with another Cell Reference..?

    You're welcome.

+ 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: 6
    Last Post: 06-29-2016, 09:36 PM
  2. Find Cell Reference Containing "Text"
    By vmcduarte in forum Excel General
    Replies: 7
    Last Post: 09-09-2012, 09:16 AM
  3. Replies: 11
    Last Post: 02-08-2012, 12:36 PM
  4. Replies: 5
    Last Post: 01-10-2012, 11:20 AM
  5. Combining text and cell reference with Indirect
    By Myname in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2008, 11:00 PM
  6. Reference text in additional worksheet by category selection
    By rafyel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2007, 10:14 AM
  7. Combining cell reference with text
    By mattflow in forum Excel General
    Replies: 5
    Last Post: 12-05-2005, 05:40 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