Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
seanrigby
 
Posts: n/a
Default Text Changing, based on data


I need a way, in Excel, to change the text in a statement automatically,
based on data.

For example, if I put a statement that states "You now have 25 tries
left"... the 25 may change to any number automatically, and probably is
pointed to a cell of some sort. But how do I make a formula that allows
the statement to stay the same, and the number just change
automatically?


--
seanrigby
------------------------------------------------------------------------
seanrigby's Profile: http://www.excelforum.com/member.php...o&userid=34133
View this thread: http://www.excelforum.com/showthread...hreadid=539019

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Text Changing, based on data

="You now have " & text(a1,"#,##0") & " tries left"
or just
="You now have " & a1 & " tries left"
if you don't care about the formatting.



seanrigby wrote:

I need a way, in Excel, to change the text in a statement automatically,
based on data.

For example, if I put a statement that states "You now have 25 tries
left"... the 25 may change to any number automatically, and probably is
pointed to a cell of some sort. But how do I make a formula that allows
the statement to stay the same, and the number just change
automatically?

--
seanrigby
------------------------------------------------------------------------
seanrigby's Profile: http://www.excelforum.com/member.php...o&userid=34133
View this thread: http://www.excelforum.com/showthread...hreadid=539019


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
via135
 
Posts: n/a
Default Text Changing, based on data


hi!

in A1: ="You have"&" "&B1&" "&"tries left"&"!"
in B1: =enter the value as you wish!

-via135



seanrigby Wrote:
I need a way, in Excel, to change the text in a statement automatically,
based on data.

For example, if I put a statement that states "You now have 25 tries
left"... the 25 may change to any number automatically, and probably is
pointed to a cell of some sort. But how do I make a formula that allows
the statement to stay the same, and the number just change
automatically?



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=539019

  #4   Report Post  
Posted to microsoft.public.excel.misc
seanrigby
 
Posts: n/a
Default Text Changing, based on data


Excellent! Works Great! Thanks!


--
seanrigby
------------------------------------------------------------------------
seanrigby's Profile: http://www.excelforum.com/member.php...o&userid=34133
View this thread: http://www.excelforum.com/showthread...hreadid=539019

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show text data in excel pivot table Kathy Kirk Excel Discussion (Misc queries) 2 January 10th 06 02:26 PM
Changing cell format - for example text to numeric sjrku Excel Discussion (Misc queries) 3 December 30th 05 11:40 PM
Cell text based on 4 condition test Bob Wall Excel Worksheet Functions 3 November 16th 05 08:34 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 08:58 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 06:55 PM


All times are GMT +1. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"