Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tinester
 
Posts: n/a
Default format the outcome of a formula

I have a formula that pulls in numbers into a text string but i want to
underline or bold the numbers being pulled in and selected parts of the text.
Is this possible?

eg cell formula
="john is "&A1&" years old" where cell A1 is 10
returns
"john is 10 years old"
ideally i want the 10 to be bold and the old to be underlined

even if the cell the number is being drawn from (A1 in this case) is bold or
underlined the format is not pulled into the result of the formula

many thanks

(nb i have excel 2002)
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default format the outcome of a formula

Select the cell and copy it it. Then paste/special/as value elsewhere in the
worksheet. At this point you can select portions of the new cell in the
formula bar and format them as you choose.
--
Gary's Student


"tinester" wrote:

I have a formula that pulls in numbers into a text string but i want to
underline or bold the numbers being pulled in and selected parts of the text.
Is this possible?

eg cell formula
="john is "&A1&" years old" where cell A1 is 10
returns
"john is 10 years old"
ideally i want the 10 to be bold and the old to be underlined

even if the cell the number is being drawn from (A1 in this case) is bold or
underlined the format is not pulled into the result of the formula

many thanks

(nb i have excel 2002)

  #3   Report Post  
Posted to microsoft.public.excel.misc
tinester
 
Posts: n/a
Default format the outcome of a formula

thanks but i need the formula link to stay becasue the number in the version
i am trying to use are constantly changing (i used a slightly oversimplified
example in my original question)

"Gary''s Student" wrote:

Select the cell and copy it it. Then paste/special/as value elsewhere in the
worksheet. At this point you can select portions of the new cell in the
formula bar and format them as you choose.
--
Gary's Student


"tinester" wrote:

I have a formula that pulls in numbers into a text string but i want to
underline or bold the numbers being pulled in and selected parts of the text.
Is this possible?

eg cell formula
="john is "&A1&" years old" where cell A1 is 10
returns
"john is 10 years old"
ideally i want the 10 to be bold and the old to be underlined

even if the cell the number is being drawn from (A1 in this case) is bold or
underlined the format is not pulled into the result of the formula

many thanks

(nb i have excel 2002)

  #4   Report Post  
Posted to microsoft.public.excel.misc
Peter
 
Posts: n/a
Default format the outcome of a formula

I wanted to do something similar. Despite much searching I eventually gave
in. As far as i know Excel is incapable of doing what you ask. I wanted to
return a suitably formated string to word using bold and underlining in
relevant parts of a Book reference. In the end I needed to do it as a
separate macro in Word using delimiters supplied by excel - frankly it was
tediously difficult!

One solution might be to use small cells close together with each cell
formated as required- in-elegant I know, but perhaps better than nothing!

Hope this helps.

--
Peter


"tinester" wrote:

thanks but i need the formula link to stay becasue the number in the version
i am trying to use are constantly changing (i used a slightly oversimplified
example in my original question)

"Gary''s Student" wrote:

Select the cell and copy it it. Then paste/special/as value elsewhere in the
worksheet. At this point you can select portions of the new cell in the
formula bar and format them as you choose.
--
Gary's Student


"tinester" wrote:

I have a formula that pulls in numbers into a text string but i want to
underline or bold the numbers being pulled in and selected parts of the text.
Is this possible?

eg cell formula
="john is "&A1&" years old" where cell A1 is 10
returns
"john is 10 years old"
ideally i want the 10 to be bold and the old to be underlined

even if the cell the number is being drawn from (A1 in this case) is bold or
underlined the format is not pulled into the result of the formula

many thanks

(nb i have excel 2002)

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
format a cell if the formula is removed Rob Excel Worksheet Functions 6 February 20th 06 03:30 AM
Format cells with a formula (7 conditions). danindenver Excel Discussion (Misc queries) 3 January 2nd 06 02:40 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
How do I copy a conditional format that uses a formula in a serie. TygerJ Setting up and Configuration of Excel 1 March 31st 05 01:07 AM
How do I format a character from a result of formula in excel? Mohamed Excel Discussion (Misc queries) 2 December 9th 04 09:43 AM


All times are GMT +1. The time now is 09:15 AM.

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

About Us

"It's about Microsoft Excel"