View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.newusers
Dave in Ampthill[_2_] Dave in Ampthill[_2_] is offline
external usenet poster
 
Posts: 10
Default Multiple IF statement

Many thanks Roger, you've been a great help.

"Roger Govier" wrote:

Hi Dave

=IF(AND(D63175,D6<=3800),2.5,
IF(AND(D63800,D6<=4500),3.0,
IF(D64500,3.5,2.0)))

I assumed you wanted the upper level included as part of the range in each
case, so I made it <=3800 etc.
Otherwise, values of 3800 and 4500 would be missed altogether.

--
Regards
Roger Govier

"Dave in Ampthill" wrote in
message ...
I am formatting cell D47 and wish the following IF conditions:-

D47 to read 2.00 unless D63175 but<3800 then to read 2.50, if D6 3800
but<4500 then read 3.00, if D64500 then read 3.5

How should this be written in the cell.

Many thanks in advance for your help.

Dave