+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    05-15-2006
    Posts
    19

    Post two-column formula

    How I can calculate two different columns one for dollars and one for cents?
    I need to create a data base like an old accounting table.
    Attached Files Attached Files

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,826

    Re: 2 colum formula

    Hi

    It's not quite clear what your aim is. Why do you actually need two columns rather than the normal single column formatted to show 2 places for cents?

    However you have created two columns in which you are recording dollars and cents so what more do you want to do?

    You mention calculating but there are no calculations on the sheet. What do you mean by calculate?

    Rgds
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    271

    Re: 2 colum formula

    As rich has stated you would probably be better of merging the cells for your Dollars and Cents into a single cell using accounting format set to 2 decimal places. I think the trouble with you current layout would be getting the whole Dollar amount from the Cents column to carry over and add to the total in your Dollars column.
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  4. #4
    Registered User
    Join Date
    05-15-2006
    Posts
    19

    Re: 2 colum formula

    Quote Originally Posted by Richard Buttrey View Post
    Hi

    It's not quite clear what your aim is. Why do you actually need two columns rather than the normal single column formatted to show 2 places for cents?

    However you have created two columns in which you are recording dollars and cents so what more do you want to do?

    You mention calculating but there are no calculations on the sheet. What do you mean by calculate?

    Rgds
    I need to duplicate an old accounting sheet and print the resulting sum in two different columns (one for dollars and one for cents). Sheet must be like the original, but at the same time make the sum of both columns and result in separate columns.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,941

    Re: 2 colum formula

    One way.

    H29: =SUM(H10:H24)+(SUM(I10:I24)/100)-(I30/100)

    I29: =((SUM(I10:I24)/100)-INT(SUM(I10:I24)/100))*100
    Cheers
    Andy
    www.andypope.info

  6. #6
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    271

    Re: 2 colum formula

    I think I may have worked it out. Thouroughly test the attached WB to make sure it calculates properly using several test sets of numbers. I tested and it seems to work fine.

    I'm sure one of the Gurus may have a better solution, but I had fun trying to figure it out.
    Attached Files Attached Files
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  7. #7
    Valued Forum Contributor scaffdog845's Avatar
    Join Date
    02-01-2008
    Location
    Aston, PA. USA.
    MS-Off Ver
    2007
    Posts
    271

    Re: two-column formula

    Andy

    I thought about using INT but abandoned the idea since the values in I:I were not actual decimal values. Sometimes the simplest things escape you. I didn't think to do the math first then use INT.

    What took me 1/2 hour of toying with you probably had done in no time flat.

    As NBVC likes to say
    Where there is a will there are many ways. Pick One!
    Click here to read the Forum Rules
    To give a virtual "pat on the back" click the SCALES Icon in the SILVER toolbar from that user's post.

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,941

    Re: two-column formula

    It took a little time and I'm sure there is a better way.
    Cheers
    Andy
    www.andypope.info

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0