divide numbers up for a paper form

R

Revenue

Ok, here are two separate form problems I have.

Form 1 requires whole dollars in one column, and the cents in
another.

ie 27,651.09 needs to be "27,651" in one column and "09" in the one
right next to it. These numbers are formula driven totals calculated
elsewhere that must be transformed for this one form, as archaic as
the form happens to be.

Form 2 is worse, this would take a number like "27,651.09" and divide
it one digit at a time for the approximate box on the printed form.

ie 2|7|6|5|1|0|9|

I tried =text type formulas with the idea of extrapolating which
places I needed for the respective boxes, but that is not working out
well.

Ideas greatly appreciated.


Bruce
 
P

Pete_UK

Suppose your calculated value is in A1. This will give you the integer
value:

=INT(A1)

but if you need it as text then do this:

=TEXT(INT(A1),"#,##0")

The following will give you the cents, with leading zeros preserved:

=TEXT((A1-INT(A1))*100,"00")

Hope this helps.

Pete
 
D

Don Guillett

Suppose your calculated value is in A1. This will give you the integer
value:

=INT(A1)

but if you need it as text then do this:

=TEXT(INT(A1),"#,##0")

The following will give you the cents, with leading zeros preserved:

=TEXT((A1-INT(A1))*100,"00")

Hope this helps.

Pete










- Show quoted text -

data>text to columns>delimited>other = .>>>>>>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top