Solved

Copy Value of cell in formula

Posted on 2016-10-11
1
44 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
1 Comment
 
LVL 25

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
My experience with Windows 10 over a one year period and suggestions for smooth operation
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now