ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I format text so that when the formula delivers the mixeddata, it looks right (https://www.excelbanter.com/excel-discussion-misc-queries/174530-how-do-i-format-text-so-when-formula-delivers-mixeddata-looks-right.html)

Chrism

How do I format text so that when the formula delivers the mixeddata, it looks right
 
I'm using one formula to bring data from 2 cells (ranges actually)
into one cell. The data is mixed; text with $X.00. When the data is
delivered, the number is just an integer, no currency formatting.

A B

Item Description and Amount "Book 5"


=LOOKUP($E5,Items.xls!DataID,ItemDesc)&CHAR(10)&LO OKUP($E5,Items.xls!
DataID,ItemPrice)


Can someone suggest a way to format the amount in the 'B' column to
look like money?

Many thanks-

Chrism


Dave Peterson

How do I format text so that when the formula delivers the mixeddata, it looks right
 
=YourFirstHalfFormula & char(10) & text(yoursecondformula, "$#,##0.00")



Chrism wrote:

I'm using one formula to bring data from 2 cells (ranges actually)
into one cell. The data is mixed; text with $X.00. When the data is
delivered, the number is just an integer, no currency formatting.

A B

Item Description and Amount "Book 5"

=LOOKUP($E5,Items.xls!DataID,ItemDesc)&CHAR(10)&LO OKUP($E5,Items.xls!
DataID,ItemPrice)

Can someone suggest a way to format the amount in the 'B' column to
look like money?

Many thanks-

Chrism


--

Dave Peterson


All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com