Separating dollars and cents

  • Thread starter alison via OfficeKB.com
  • Start date
A

alison via OfficeKB.com

I have a spread sheet that has a dollar/cents amount (ie 23.47) and I'd
like to separate it into two different cells ( ie 23 in one cell labeled
dollars and 47 in another ). This is for a mail merge where the word
documents states 23 dollars and 47 cents.

I'm able to get a result using =LEFT on the dollars and =MID with the cents
BUT if the amount is 123.00 I get errors on both dollars and cents

the actual functions are
=LEFT(T3,FIND(".",T3)-1)
=MID(T3,FIND(".",T3,1)+1,LEN(T3))

thanks for all and any help
 
G

GerryK

As an example, start off with the dollars part thus:
With 23.47 in A1 put this formula in B1;

=IF(ISNUMBER(FIND(".",A1)),LEFT(A1,FIND(".",A1)-1),LEFT
(A1,1))&" dollars"

modify as needed for the cents part in C1.

HTH
 
J

Jason Morin

INT() works fine for positive values, but if the OP has
negative dollar values, then it rounds "up". For example:

=INT(-4.35) = -5

Jason
 

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