O
office
Do I have an unsolvable problem? I really hope not
Here's the deal:
I have named all three columns that I want to use,
SNCOL = Serial number column (range)
RATE = Rate column 0=normal time, 2=over time (range)
TOTHOURS = Total hours column (range)
I have been trying to do the following:
Every time the same number appears in the SNCOL range and the RATE =0 sum
the TOTHOURS for all instances of that number only.
Then I want to do the same thing with RATE=2
SNCOL RATE TOTHOURS
98 0 2.00
92 2 3.00
87 2 1.50
98 2 2.25
87 0 3.50
98 0 4.00
98 2 5.00
92 2 3.25
98 0 1.00
So the total hours of 98 at rate 2 will be 7.25 and at rate 0 will be 3.00
hours
IF SNCOL=A4&RATE=0,SUM TOTHOURS (but sum ONLY the the hours for 98 when RATE
0 occurs)
(on the sheet that I want to put the formula in, cell A4 has the number 98
in it. cell A5 has the number 92 in it. All occur randomly but never change)
I have been trying to get the proper version of the above formula working
without success.
Any help would be brilliant
Thanx
Rico
Thanx to all, this group is fantastic, a great help!!!!
Here's the deal:
I have named all three columns that I want to use,
SNCOL = Serial number column (range)
RATE = Rate column 0=normal time, 2=over time (range)
TOTHOURS = Total hours column (range)
I have been trying to do the following:
Every time the same number appears in the SNCOL range and the RATE =0 sum
the TOTHOURS for all instances of that number only.
Then I want to do the same thing with RATE=2
SNCOL RATE TOTHOURS
98 0 2.00
92 2 3.00
87 2 1.50
98 2 2.25
87 0 3.50
98 0 4.00
98 2 5.00
92 2 3.25
98 0 1.00
So the total hours of 98 at rate 2 will be 7.25 and at rate 0 will be 3.00
hours
IF SNCOL=A4&RATE=0,SUM TOTHOURS (but sum ONLY the the hours for 98 when RATE
0 occurs)
(on the sheet that I want to put the formula in, cell A4 has the number 98
in it. cell A5 has the number 92 in it. All occur randomly but never change)
I have been trying to get the proper version of the above formula working
without success.
Any help would be brilliant
Thanx
Rico
Thanx to all, this group is fantastic, a great help!!!!