how do i sum dollars & cents in different columns

  • Thread starter Thread starter Guest
  • Start date Start date
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)
 
=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)
 
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
 
Back
Top