how do i sum dollars & cents in different columns

G

Guest

In my account sheet I need to have dollars in the first column and cents in
the second. For my total row I would like to be able to have everything sum
(dollars and cents) and then be displayed as it is above (dollars in the
first column and cents in the second) How in the world is this done??? email
me at (e-mail address removed)
 
B

Bob Phillips

=SUM(A1:A10)+INT(SUM(B1:B10))

for the dollars

=SUM(B1:B10)-INT(SUM(B1:B10))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
R

Ron Rosenfeld

In my account sheet I need to have dollars in the first column and cents in
the second. For my total row I would like to be able to have everything sum
(dollars and cents) and then be displayed as it is above (dollars in the
first column and cents in the second) How in the world is this done??? email
me at (e-mail address removed)

Do you want to sum them separately, getting results like

DollarSum: $123
CentsSum: 947¢ (947 cents)

or do you want to sum them together, getting results like:

DollarSum: $132
CentsSum: 47¢ (47 cents)

With the Dollars in ColA and the cents in ColB

For the first option:

DollarSum: =SUM(A:A)
CentsSum: =SUM(B:B)

For the second Option:

DollarSum: =SUM(A:A)+INT(SUM(B:B)/100)
CentsSum: =MOD(SUM(B:B)/100,1)*100



--ron
 

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