View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Struggling for a formula

Maybe:-

=IF(AND(cltage<18,ptnrage<18),70.7,IF(AND(OR(cltag e18,ptnrage18),cltage<60,ptnrage<60),92.82,IF(AN D(OR(cltage60,ptnrage60),cltage<65,ptnrage<65),1 81.7,207)))


Format cell as currency.

Mike

"Steve" wrote:

Hi

I've tried this and tried this and just can't work out how to do it.
And advice would be hugely appreciated.

Is there an easy way of having the following decided in a single cell:

K16 contains age, rangename cltage
K17 contains partner's age, if there is one, rangename ptnrage

I need a value in a third cell, P17 which conforms to the following
rules:

both aged under 18 = £70.70
at least one aged 18+ but both under 60 = £92.82
at least one aged 60+ but both under 65 = £181.70
at least one aged 65+ = £207.00

Thanks in advance

Steve