Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jc jc is offline
external usenet poster
 
Posts: 164
Default if vlookup for multiple criteria for vdata validation

I have a workbook with a UM_B sheet for data entry or pasting from another
excel book.
It has a column E4:E2300 (Carriers) that has data validation set for
criteria which is another sheet List!E2:E3470

If doing manual data entry it gives you error for invalid Carriers however
when pasting data in Carriers that are not on list are getting in with no
errors thus I made another column A with Vlookup
For valid carrier
blanks
and invalid carriers
Formulas work but not for 3 options

=IF(E433=VLOOKUP(E433,List!$E$2:$F$3475,1,FALSE)," ", "Remove")
=IF(AND(E7<VLOOKUP(E7,List!$E$2:$F$3475,1,FALSE), E7=""),"REMOVE","")
=IF(E437="","Remove",VLOOKUP(E437,List!$E$2:$F$347 5,1,FALSE))

=(IF(OR(E422=VLOOKUP(E422,List!$E$2:$F$3475,1,FALS E),E422),IF(E422<VLOOKUP(E422,List!$E$2:$F$3475,1 ,FALSE),"
"),IF(E424="","",VLOOKUP(E424,List!$E$2:$F$3475,1, FALSE))))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jc jc is offline
external usenet poster
 
Posts: 164
Default if vlookup for multiple criteria for vdata validation

Also need to look at second column in um_b as part of lookup
if data in column d and no data in column e

"JC" wrote:

I have a workbook with a UM_B sheet for data entry or pasting from another
excel book.
It has a column E4:E2300 (Carriers) that has data validation set for
criteria which is another sheet List!E2:E3470

If doing manual data entry it gives you error for invalid Carriers however
when pasting data in Carriers that are not on list are getting in with no
errors thus I made another column A with Vlookup
For valid carrier
blanks
and invalid carriers
Formulas work but not for 3 options

=IF(E433=VLOOKUP(E433,List!$E$2:$F$3475,1,FALSE)," ", "Remove")
=IF(AND(E7<VLOOKUP(E7,List!$E$2:$F$3475,1,FALSE), E7=""),"REMOVE","")
=IF(E437="","Remove",VLOOKUP(E437,List!$E$2:$F$347 5,1,FALSE))

=(IF(OR(E422=VLOOKUP(E422,List!$E$2:$F$3475,1,FALS E),E422),IF(E422<VLOOKUP(E422,List!$E$2:$F$3475,1 ,FALSE),"
"),IF(E424="","",VLOOKUP(E424,List!$E$2:$F$3475,1, FALSE))))


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup with Multiple criteria and multiple sheets Cinny Excel Worksheet Functions 4 June 21st 07 01:47 AM
multiple data validation criteria Greyling Excel Discussion (Misc queries) 3 May 15th 07 07:10 PM
Vlookup for multiple criteria, multiple worksheets jtoy Excel Worksheet Functions 4 January 25th 07 09:26 PM
multiple validation criteria for one cell movermike Excel Worksheet Functions 4 December 16th 06 12:39 AM
Validation - multiple criteria in one cell krd Excel Discussion (Misc queries) 0 August 17th 05 08:23 PM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"