Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiply cells and format to currency in text format
Hi,
I have 2 cells which I wish to multiply, and have the result be formatted in text with the 2 decimal places. 3 x 1.55 = 4.65 2 x 4 = 8.00 This is going to be used with a program which requires it to be numbers stored as text. Just basic cell formatting doesn't work. Can some one please help? Cheers -- Paul Wilson |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiply cells and format to currency in text format
On Tue, 22 Dec 2009 16:43:02 -0800, Paul Wilson
wrote: Hi, I have 2 cells which I wish to multiply, and have the result be formatted in text with the 2 decimal places. 3 x 1.55 = 4.65 2 x 4 = 8.00 This is going to be used with a program which requires it to be numbers stored as text. Just basic cell formatting doesn't work. Can some one please help? Cheers =TEXT(3*1.55,"$#,##0.00") --ron |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Multiply cells and format to currency in text format
If you are looking for a VBA solution try
Msgbox Format(Range("A1")*Range("B1"),"0.00") -- Jacob "Paul Wilson" wrote: Hi, I have 2 cells which I wish to multiply, and have the result be formatted in text with the 2 decimal places. 3 x 1.55 = 4.65 2 x 4 = 8.00 This is going to be used with a program which requires it to be numbers stored as text. Just basic cell formatting doesn't work. Can some one please help? Cheers -- Paul Wilson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Userform Text box Format to Currency | Excel Programming | |||
How to format cells in Excel 2007 (i.e. currency format)? | Excel Discussion (Misc queries) | |||
Column with currency & text - how to format? | Excel Discussion (Misc queries) | |||
format cells for currency 2450 and have it format to $24.50? | Excel Worksheet Functions | |||
Conversion from currency value to currency text format | Excel Programming |