View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Carolina Carolina is offline
external usenet poster
 
Posts: 41
Default If/Vlookup override

Don,
I had to leave the office and I am returning only until now (maternity
leave). I was unsuccesful with this suggestionbelow so it could be a matter
of me not explaining my idea correctly . Is there any way I can email you the
file I am working on and we can later post the ending result for others to
benefit from?

Thanks.
Carolina

"Don Guillett" wrote:

Misunderstood. Try this. You need to decide on sc and snf importance

=IF(E13="sc",5,IF(E13="snf",3,VLOOKUP(A13,Sheet1!E 1:X31,IF(J7="small",2,IF(J7="medium",3,IF(J7="larg e",4))),0)))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...

Modify lookup range to suit

=VLOOKUP(A13,Sheet1!A1:X31,IF(E13="sc",4,IF(E13="s nf",3,IF(J7="small",2,IF(J7="medium",3,IF(J7="larg e",4))))),0)

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Carolina" wrote in message
...
I have a form that I am creating and need your assistance. Currently I
have
the following formula and it is working perfectly.

=IF($J$7="Small",VLOOKUP(A13,'Property
List'!$F$2:$G$31,2,FALSE),IF($J$7="Medium",VLOOKUP (A13,'Property
List'!$F$2:$H$31,3,FALSE),IF($J$7="Large",VLOOKUP( Sales!A13,'Property
List'!$F$2:$I$31,4,FALSE))))

The only thing is that now I need to add two more variables and I am
unsure
how to proceed. Regardless if $JS7 is Small, Medium or Large I need the
formula to override if either any of the following happens:

IF(E13="SC",5)
or
IF(E13="SNF",3)

Thanks.