Solved

Copy Value of cell in formula

Posted on 2016-10-11
1
64 Views
Last Modified: 2016-10-11
Is it possible to copy the value of a cell using "=A2" instead of the formatted value?

For example, I have in Q6 on a sheet "22:08:07" which excel has correctly identified it as a time and formatted it as a custom rule as hh:mm:ss, and it works fine. However I need to put this value in another cell as part of a string value (as a report). So it reads:-
="The value of cell Q6 is currently " & Q6

Open in new window


Which reads out as:-
The value of cell Q6 is currently 0.922303240740741

Where I want it to read:-
The value of cell Q6 is currently 22:08:07

The values are copied in from other reports, and excel automatically guesses as the formatting (and does a good job), so I dont want to have to manually set the formatting of the cells, and even if I do change the formatting of Q6 from custom to general it changes it to 0.922303

Any ideas?
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 26

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41838137
use this

="The value of cell Q6 is currently " & TEXT(Q6,"hh:mm:ss")
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question