Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
T
 
Posts: n/a
Default I wonder if you can make this shorter

Basic equation (reference):

=INT(SUMPRODUCT(SIGN(A2:B2)*(INT(ABS(A2:B2))+(MOD( ABS(A2:B2),1)*2.5)))
-(INT(ABS(C2))+(MOD(ABS(C2),1)*2.5))
+(SIGN(D2)*(INT(ABS(D2))+MOD(ABS(D2),1)*2.5)))+

MOD(SUMPRODUCT(SIGN(A2:B2)*(INT(ABS(A2:B2))+(MOD(A BS(A2:B2),1)*2.5)))
-(INT(ABS(C2))+(MOD(ABS(C2),1)*2.5))
+(SIGN(D2)*(INT(ABS(D2))+MOD(ABS(D2),1)*2.5)),1)*0 .4


Adjusts for negative balance:

=IF(G2<0,IF(G2<INT(G2),0.6+G2,G2),G2)

Cell A is hours cellB is hours earned cell C is used hours(leave) Cell D is
a plus or minus of donated hours.
A B C D BALANCE
(-) reference
40.3 4.2 1.1 0.3 44.3 44.3
41 4.3 1.1 1 45.2 45.2
41.1 5 1.2 1.1 46 46
41.2 5.1 1.3 1.2 46.2 46.2
41.3 5.2 2 1.3 47 47
42 5.3 2.1 2 47.2 47.2
42.1 6 2.2 2.1 48 48
42.2 6.1 2.3 2.2 48.2 48.2

-7.2 4 0 0 -3.2 -3.8
-3.2 4 0 0 0.2 0.2
-26 4 0 0 -22 -22
-0.1 0 0 0 -0.1 -0.7
-0.2 0 0 0 -0.2 -0.8
-0.3 0 0 0 -0.3 -0.9
-1 0 0 0 -1 -1
-1.1 0 0 0 -1.1 -1.7

iT ADJUSTS FOR NEGATIVES IN ORDER TO READ .25 AS .1, .50 AS .2 AND .75 AS .3

IF YOU CAN'T HELP -- SHORTEN THIS -- I WOULD LIKE TO THANK ALL OF YOU FOR
THE HELP THAT YOU GAVE IN ORDER FOR US TO COME UP WITH A SOLUTION THAT
WORKS...

THANKS
T
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
How do I make a 3-dimensional plot in Excel? John W. Mordosky Charts and Charting in Excel 6 April 3rd 23 06:58 PM
how do I make make my hyperlinks show the email address they are . Dustin Excel Discussion (Misc queries) 0 January 13th 05 01:39 AM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM
How to make this plot? springwinterfall Charts and Charting in Excel 2 December 22nd 04 07:35 PM
How do I make an If-Then formula in Excel? kdub1980 Excel Worksheet Functions 3 November 11th 04 06:08 AM


All times are GMT +1. The time now is 04:09 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"