View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Stephen[_2_] Stephen[_2_] is offline
external usenet poster
 
Posts: 364
Default Filter under and above certain criteria

"Geo" wrote in message
...
I thought I had cracked it but still having problems with this. Can anybody
help???

Basically it`s to do with flying hours budget between Medical and Police.
Medical contributes 30% of the running costs and the Police the
rest up to 40 hours per month and 25% over a combined 40 hours.
What I'm trying to do is to know the break down of hours between both
units
and what percentage each use for the first 40 hours and then over that.
The trouble is that not all the hours used by Medical fall under 40 hours,
some will fall over that figure. You might have a situation when there is
no
Medical flights under 40 hours and all of it over. So they should only pay
25% of the running costs.
The cells used are as follows:
Cells:
H3 = The reference figure (40 hours)
H9 = Total Med under 40 hours
H11 = Total Med over 40 hours
J9 = Medical percentage over 40 hours
J11 = Percentage under 40
H7 = Total Med hours
(note C18 is the grand total of both units)

Polioce are the same but cells start with "N" for the hours and "P" for
the
percentages

I hope that gives you more of an idea on how the lay is.
Data is entered on a table A11:D60000.
Headings a
A B C D
Date Unit Log No Time
--
Geo


I'm not sure if it's just me, but the above description isn't clear.

I thought I understood: "Medical contributes 30% of the running costs and
the Police the rest up to 40 hours per month and 25% over a combined 40
hours", until I got to: "You might have a situation when there is no Medical
flights under 40 hours and all of it over". How can this latter situation
arise? Or do you not mean that the split is M=30%, P=70% for the first 40
hours?