Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
T
 
Posts: n/a
Default can I get some help here? No response yet :)

=INT(INT(A1)+MOD(A1,1)*2.5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5))+(MOD(INT(A1)+MOD(A1,1)*2. 5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5),1)*0.4)

I need this to have one more column -- and have the whole formula to be able
to read negative numbers as well in all cells

Thanks
T

Was this post helpful to you?


Reply | Print post TopTop

  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

T,

Nobody has any idea what you mean by "I need this to have one more column"
Formulas don't "have columns".

Perhaps a better explanation, with a sample data table and what you expect
the formula to calculate.

HTH,
Bernie
MS Excel MVP

"T" wrote in message
...

=INT(INT(A1)+MOD(A1,1)*2.5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5))+(M
OD(INT(A1)+MOD(A1,1)*2.5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5),1)*0.
4)

I need this to have one more column -- and have the whole formula to be

able
to read negative numbers as well in all cells

Thanks
T

Was this post helpful to you?


Reply | Print post TopTop



  #3   Report Post  
T
 
Posts: n/a
Default

Ok - Within this formula i would need to add cell "d"
what this formiula does is calculate 6+2-1.2= 6.2
6= hours plus 2 accrued - 1.2=one and a half hours used = six and half hours
I need it be able to read a negative value such as 8 +(-2) -1.2 +(-2) =4.2

"Bernie Deitrick" wrote:

T,

Nobody has any idea what you mean by "I need this to have one more column"
Formulas don't "have columns".

Perhaps a better explanation, with a sample data table and what you expect
the formula to calculate.

HTH,
Bernie
MS Excel MVP

"T" wrote in message
...

=INT(INT(A1)+MOD(A1,1)*2.5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5))+(M
OD(INT(A1)+MOD(A1,1)*2.5+INT(B1)+MOD(B1,1)*2.5-(INT(C1)+MOD(C1,1)*2.5),1)*0.
4)

I need this to have one more column -- and have the whole formula to be

able
to read negative numbers as well in all cells

Thanks
T

Was this post helpful to you?


Reply | Print post TopTop




  #4   Report Post  
 
Posts: n/a
Default

T wrote...
Ok - Within this formula i would need to add cell "d"
what this formiula does is calculate 6+2-1.2= 6.2
6= hours plus 2 accrued - 1.2=one and a half hours used = six and half

hours
I need it be able to read a negative value such as 8 +(-2) -1.2 +(-2)

=4.2

You're not going to get there with Bernie's formula if you need to sum
over an arbitrary number of cells. If you had entries like this in
A1:A20, e.g.,

6.2
-2.2
-1
-6.2
1.3
5.2
5
8.3
7.1
7.1
7.3
4.1
-6.1
5.3
1.2
-3.1
-4
-9.3
-6
0.2

The formula

=SUMPRODUCT(SIGN(A1:A20)*(INT(ABS(A1:A20))+MOD(ABS (A1:A20),1)*2.5))
returns 22.5.

  #5   Report Post  
T
 
Posts: n/a
Default

so if i add*.4 to the end of this formula will it produce an answer of .1
or.2 or .3 as thiese aee the increments i need the hour is split inot
quarters and these numbers designate .25 .50 and .75

" wrote:

T wrote...
Ok - Within this formula i would need to add cell "d"
what this formiula does is calculate 6+2-1.2= 6.2
6= hours plus 2 accrued - 1.2=one and a half hours used = six and half

hours
I need it be able to read a negative value such as 8 +(-2) -1.2 +(-2)

=4.2

You're not going to get there with Bernie's formula if you need to sum
over an arbitrary number of cells. If you had entries like this in
A1:A20, e.g.,

6.2
-2.2
-1
-6.2
1.3
5.2
5
8.3
7.1
7.1
7.3
4.1
-6.1
5.3
1.2
-3.1
-4
-9.3
-6
0.2

The formula

=SUMPRODUCT(SIGN(A1:A20)*(INT(ABS(A1:A20))+MOD(ABS (A1:A20),1)*2.5))
returns 22.5.




  #6   Report Post  
 
Posts: n/a
Default

T wrote...
so if i add*.4 to the end of this formula will it produce an answer of

..1
or.2 or .3 as thiese aee the increments i need the hour is split

inot
quarters and these numbers designate .25 .50 and .75

....

I didn't reformat the result. Thinking about it, it makes more sense to
convert back and forth between fractional formats.

For an arbitrary range, Rng, change the formula to

=--SUBSTITUTE(SUBSTITUTE(TEXT(SUM(--(SUBSTITUTE(Rng,"."," ")
&IF(MOD(Rng,1),"/4",""))),"0 0/4"),"/4","")," ",".")

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 graph text information in Excel garrison0013 Charts and Charting in Excel 5 April 3rd 23 03:41 PM
Data Entry Alert in User Form Kev Excel Discussion (Misc queries) 6 January 8th 05 03:01 PM
Response to Frank: AM-PM Auto formatting BulaMan Excel Discussion (Misc queries) 2 December 15th 04 10:26 AM
Counting a range of fields with an "X" Arge Excel Worksheet Functions 7 December 7th 04 03:23 AM
Help Excel97 gives incorrect multiplication response DrivenOG Excel Worksheet Functions 2 November 15th 04 03:29 PM


All times are GMT +1. The time now is 01:16 AM.

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"