Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Formula help

Status
Not open for further replies.

lauriebizz

Technical User
Sep 19, 2005
53
US
I've got this formula, and I can't seem to find the error. Any ideas? I'm sure it's right in front of my face.
Thanks!
Laurie

=IF(iserror(VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE)>=VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE)),0,(VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE)>=VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE))
 



Laurie,

where's the termination (closing parentheses) of the iserror function?

Skip,

[glasses] [red][/red]
[tongue]
 
Getting closer - still getting #N/A

=IF(ISERROR(VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE)>=VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE)),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,2,FALSE),VLOOKUP($C262,'[LowesTemplates - 2.xls]NSPartList'!$A:$C,3,FALSE))
 



ISERROR(VLOOKUP($C262,$A:$C,2,FALSE)>=VLOOKUP($C262,$A:$C,3,FALSE))

how is an equastion and error or not.

You need to check the VLOOKUP only

Skip,

[glasses] [red][/red]
[tongue]
 
OK, getting closer...
my head hurts... I'm going to think about it more...
Thanks!
Laurie
 



Each LOOKUP must be IF-tested and assigned a TRUE/FALSE result.

Skip,

[glasses] [red][/red]
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top