#1   Report Post  
Denise
 
Posts: n/a
Default Adding Numbers

I need to set up a formula to add numbers to get the following sum:

12.50 + 12.40 = 25.30

Not: 12.50 + 12.40 = 24.90

..60 should equal 1. Is there a way that this can be done.

Thanks.

  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

Use the DOLLARFR and DOLLARDE functions from the Analysis Tool Pack:

=DOLLARFR(DOLLARDE(12.5,60)+DOLLARDE(12.4,60),60)


On Mon, 10 Jan 2005 12:03:02 -0800, Denise
wrote:

I need to set up a formula to add numbers to get the following sum:

12.50 + 12.40 = 25.30

Not: 12.50 + 12.40 = 24.90

.60 should equal 1. Is there a way that this can be done.

Thanks.


  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 10 Jan 2005 12:03:02 -0800, Denise
wrote:

I need to set up a formula to add numbers to get the following sum:

12.50 + 12.40 = 25.30

Not: 12.50 + 12.40 = 24.90

.60 should equal 1. Is there a way that this can be done.

Thanks.



--ron
  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 10 Jan 2005 12:03:02 -0800, Denise
wrote:

I need to set up a formula to add numbers to get the following sum:

12.50 + 12.40 = 25.30

Not: 12.50 + 12.40 = 24.90

.60 should equal 1. Is there a way that this can be done.

Thanks.


You need to convert the numbers somehow. There are a variety of methods:

====================================
=dollarfr(dollarde(12.5,60)+dollarde(12.4,60),60)

Format the result as Number with 2 decimal places.
You can replace the numbers 12.5 and 12.4 with cell references.

If these functions are not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.

==============================

Or, without the ATP, and with the values stored in H1 and H2, you could use the
following array formula:

=INT(SUM(INT(H1:H2),MOD(H1:H2,1)/60*100))+
MOD(SUM(INT(H1:H2),MOD(H1:H2,1)/60*100),1)*60/100

To enter an array formula, hold down <ctrl<shift while hitting <enter.

===============================

You could convert the numbers to times and format the result as [h].mm



--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
Excel Adding duplicated numbers together JJ Joobler Excel Discussion (Misc queries) 1 January 7th 05 01:24 AM
Re What is the formula for adding multiple numbers in a cell merlin_au Excel Discussion (Misc queries) 2 January 4th 05 11:50 AM
What is the formula for adding mulitple numbers in one excel cell. Merlin_au Excel Discussion (Misc queries) 1 January 4th 05 10:50 AM
adding only positive numbers Jacob Excel Discussion (Misc queries) 2 November 30th 04 12:24 AM


All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"