Dollar Amount

Zone

New Member
Joined
Mar 9, 2009
Messages
1
Hi all,

How can I display the $xx.xx into a statement? :confused:

I have these $ amounts in column A:
99.12
107.65
14500.99

Have the result in column B as:
Please Pay Exactly$00000xx.yy
(where xx is tenth, hundreds, thousands and yy is the cent)
00000 is to prevent forgery

and to have the results in column C using same column A:
Please Pay Exactly$0000xxDollars and yycents
For example like Please Pay Exactly$000099Dollars and 12cents
or Please Pay Exactly$000014500Dollars and 99cents

Thank you for your help!
Z :)
 
texasalynn,

I changed your formula slightly to show the format Zone was looking for. They wanted 9 digits including the decimal point. Ex. $000000.00

But when I tried it out i noticed there's still the same problem with the dollar amount rounding up. If cell A1 shows 10.49 - it's okay. But if you change it to 10.51 it will round up to 11.51?

I'm confused.
A
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
="Please Pay Exactly" & TEXT(INT(A1),"000000000") & "Dollars and " & ROUND(MOD(A1,1),2)*100 & "cents"

or with a 2 digit cents result:

="Please Pay Exactly" & TEXT(INT(A1),"000000000") & "Dollars and " & TEXT(ROUND(MOD(A1,1),2)*100,"00") & "cents"
 
Last edited:
Upvote 0
For 9 digits including the decimal point:

="Please Pay Exactly"&TEXT(A1,"$0000000.00")

The op has the second format both ways, 1 with 7 digits before the decimal amount and 1 with 9
 
Upvote 0

Forum statistics

Threads
1,215,374
Messages
6,124,566
Members
449,171
Latest member
jominadeo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top