View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey Duke Carey is offline
external usenet poster
 
Posts: 1,081
Default Multiple If (Lookup?) Statement

This was the response from the other day.

=MAX(MAX(D49,I49)*LOOKUP(MAX(D49,I49),D9:G9,D10:G1 0),C10)

What was wrong with the result?

"Teri" wrote:

Can anyone help me write this formula?

The greater of D49 and I49 represents "Chargeable".
When Chargeable is:
1. Greater than D9 but less than E9, the value should be chargeable X D10
2. Greater than E9 but less than F9, the value should be chargeable X E10
3. Greater than F9 but less than G9, the value should be chargeable X E10
4. Greater than G9, the value should be chargeable XG10

When the Chargeable X D10 is less than C10, the value should be C10