?
Solved

Copy Value of cell in formula

Posted on 2016-10-11
1
Medium Priority
?
72 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 2000 total points
ID: 41838137
use this

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

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
New style of hardware planning for Microsoft Exchange server.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

764 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