Computing.Net > Forums > Programming > excel formula

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

excel formula

Reply to Message Icon

Name: rkroadking
Date: June 3, 2009 at 12:07:18 Pacific
OS: Windows Vista
Subcategory: General
Comment:

how to add $1 to dollar column when cents column reaches 100 and then minus 100 in cents column



Sponsored Link
Ads by Google

Response Number 1
Name: GEM
Date: June 3, 2009 at 12:33:03 Pacific
Reply:

You'll have to include some more detail on what you're trying to accomplish, but you could use an if statement? Such as,

Assuming data in C3, formula would appear in Cell D3:
=if(C3>=100,C3+1.00,C3-1.00)


0

Response Number 2
Name: rkroadking
Date: June 3, 2009 at 12:59:03 Pacific
Reply:

If data in C3 is the sum of C1:C2 and >=100 I need to subtract 100 from C3 and Add 1 to A3 which is the sum of A1:A2


0

Response Number 3
Name: Mike (by mmcconaghy)
Date: June 3, 2009 at 13:34:31 Pacific
Reply:

Try this:

Using the amounts of $1.20, $2.30 and $3.40

Column B is the Whole Dollar amount
Column C is the Cents amount

Cell b1 1.00
Cell b2 2.00
Cell b3 3.00

Cell c1 .20
Cell c2 .30
Cell c4 .40


In cell b5 enter the formula:

=SUM(B1:B3)+INT(SUM(C1:C3))

In cell c5 enter the formula:

=MOD(SUM(C1:C3),1)

Both columns should be formatted at numbers with two decimal places.
The cents have to be entered with the decimal place.

MIKE

http://www.skeptic.com/


0

Response Number 4
Name: rkroadking
Date: June 3, 2009 at 14:25:23 Pacific
Reply:

Can column c be done without decimal places. column b works without decimal places


0

Response Number 5
Name: Mike (by mmcconaghy)
Date: June 3, 2009 at 15:18:32 Pacific
Reply:

Look up the definition of the =INT and =MOD functions and you tell me.

MIKE

http://www.skeptic.com/


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: excel formula

Excel formula autoupdate www.computing.net/answers/programming/excel-formula-autoupdate/2538.html

Excel formula www.computing.net/answers/programming/excel-formula/9347.html

Excel Formula help www.computing.net/answers/programming/excel-formula-help/11193.html