Thread: need formulae
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default need formulae

Dear Graham

The below formula do not use the helper cell.

=LOOKUP(VALUE(TEXT(F1-E1,"hh")),{0,1,2,3,4},{"100% Planned",3,2,1,4})

Can you clarify the first condition (planned =4). I am not sure....But
still you should be able to modify the values from within the lookup and
result array....

If this post helps click Yes
---------------
Jacob Skaria


"Graham" wrote:

Hi all I have the following criteria:
planned = 4; 1 hour above planned = 3; 2 hours above planned = 2; 3 hours above planned = 1

I need a formulae to satisfy the above requirements (i have a helper cell
"a51"
E1=PLANNED DATE TIME (dd-mm-yy HH:mm)
F1=ACTUAL DATE TIME
F1-E1=HELPER CELL(A51)
REMEMBER IF A51=O THEN THAT IS 100% PLANNED

THANKX
GEES