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.
![]()
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 iconat the bottom left of my post.
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.
One way.
H29: =SUM(H10:H24)+(SUM(I10:I24)/100)-(I30/100)
I29: =((SUM(I10:I24)/100)-INT(SUM(I10:I24)/100))*100
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.
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.
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 sayWhere 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.
It took a little timeand I'm sure there is a better way.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks