Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Retain cell format while linking cells

I need some help here. I would like to link some cells together. Some
cells contain text, others contain currency. For Example:

A1 A2 A3
You owe me $10,000.00 Dollars!

I would like this to happen:

A5
You owe me $10,000.00 Dollars!


Linking cells doesn't work, I have read all over that it can be done
with VB. Except, there is no examples of what code would do this. I
would like help writing this simple (not for me) scenario, I could
make it work for what I need after that.

Thanks,
Josh
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Retain cell format while linking cells

Hi Josh
try the following
=A1 & " " TEXT(B1,"$#,##0.00") & " " & A3

HTH
Frank

Josh wrote:
I need some help here. I would like to link some cells together.

Some
cells contain text, others contain currency. For Example:

A1 A2 A3
You owe me $10,000.00 Dollars!

I would like this to happen:

A5
You owe me $10,000.00 Dollars!


Linking cells doesn't work, I have read all over that it can be done
with VB. Except, there is no examples of what code would do this. I
would like help writing this simple (not for me) scenario, I could
make it work for what I need after that.

Thanks,
Josh



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Retain cell format while linking cells

Think Frank meant:

In A5 put this formula:

=A1 & " " TEXT(A2,"$#,##0.00") & " " & A3

--
Regards,
Tom Ogilvy


Frank Kabel wrote in message
...
Hi Josh
try the following
=A1 & " " TEXT(B1,"$#,##0.00") & " " & A3

HTH
Frank

Josh wrote:
I need some help here. I would like to link some cells together.

Some
cells contain text, others contain currency. For Example:

A1 A2 A3
You owe me $10,000.00 Dollars!

I would like this to happen:

A5
You owe me $10,000.00 Dollars!


Linking cells doesn't work, I have read all over that it can be done
with VB. Except, there is no examples of what code would do this. I
would like help writing this simple (not for me) scenario, I could
make it work for what I need after that.

Thanks,
Josh





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Retain cell format while linking cells

Thanks Tom for pointing this out (copy and paste error....)
Regards
Frank

Tom Ogilvy wrote:
Think Frank meant:

In A5 put this formula:

=A1 & " " TEXT(A2,"$#,##0.00") & " " & A3



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Retain cell format while linking cells

"Frank Kabel" wrote in message ...
Thanks Tom for pointing this out (copy and paste error....)
Regards
Frank

Tom Ogilvy wrote:
Think Frank meant:

In A5 put this formula:

=A1 & " " TEXT(A2,"$#,##0.00") & " " & A3



Thankyou, Thankyou!!! I was tricked there for a little, there was an
& missing from the formula.

here is what it is
=A1 & " " & TEXT(A2,"$#,##0.00") & " " & A3
You guys rock though! Thanks for replying so fast, I would have never
figured it out

Josh
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
Linking cells with changing format Wombat Excel Discussion (Misc queries) 3 October 6th 09 04:08 PM
Retain Defautl Cell Format in Template Tempered Steel Excel Discussion (Misc queries) 0 September 10th 08 06:06 AM
Retain value of merged cell in all unmerged cells kari Excel Discussion (Misc queries) 3 July 15th 08 12:36 AM
URGENT! Retain format of cells in pivot table upon refresh KDG Excel Discussion (Misc queries) 3 September 10th 07 10:02 AM
Retain date format in cell Jan 2HW Excel Discussion (Misc queries) 1 August 9th 06 07:28 PM


All times are GMT +1. The time now is 07:01 PM.

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"