PC Review


Reply
Thread Tools Rate Thread

IF & Vlookup Assistance

 
 
Sat3902
Guest
Posts: n/a
 
      8th Aug 2006

Evening Chuck

I tried your suggestion

=IF(ISNA(VLOOKUP(A9,'Schedule'!$B$2:$C$20882,2,FALSE)),"Invalid
Number"&","&VLOOKUP(LEFT(A9,4),$A$2:$C$20882,2,FALSE),VLOOKUP(A9,'Schedule'!$B$2:$C$20882,2,FALSE))

I got a messg #N/A. I tried it in a smaller size worksheet.

example
Sheet 1 is where I am doing the Vlookup from. Sheet 1 has 3 column with
data col A contain both 8 digits and 4 digit user Id Col B contains the
location and Col C contains the terminal ID.

Sheet 2 is where I have the formulas doing the IF & Vlookup from.
Col A is where I import the data into. Col B & C contains the formula
Col B
=IF(ISNA(VLOOKUP(A7,Schedule!$A$13:$E$1463,3,FALSE)),"Invalid
Number"&"",VLOOKUP(LEFT(A7,4),Schedule!$A$13:$E$1463,3,FALSE))

Col C ( If i do not get a match on the 8 digit then I use the 4 digit
result)

=IF(ISNA(VLOOKUP(LEFT(A8,4),Schedule!$A$12:$E$1439,3,FALSE)),"Invalid
Number",VLOOKUP(LEFT(A8,4),Schedule!$A$12:$E$1439,3,FALSE))

Is there a way to combine both formulas ( Col b then col C ) into one
formula / argument.


--
Sat3902
------------------------------------------------------------------------
Sat3902's Profile: http://www.excelforum.com/member.php...o&userid=36777
View this thread: http://www.excelforum.com/showthread...hreadid=569233

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sk1C?=
Guest
Posts: n/a
 
      8th Aug 2006
Your response s/b posted in the original thread, otherwise it is a craps
shoot whether or not the intended recipient will see your reply.

"Sat3902" wrote:

>
> Evening Chuck
>
> I tried your suggestion
>
> =IF(ISNA(VLOOKUP(A9,'Schedule'!$B$2:$C$20882,2,FALSE)),"Invalid
> Number"&","&VLOOKUP(LEFT(A9,4),$A$2:$C$20882,2,FALSE),VLOOKUP(A9,'Schedule'!$B$2:$C$20882,2,FALSE))
>
> I got a messg #N/A. I tried it in a smaller size worksheet.
>
> example
> Sheet 1 is where I am doing the Vlookup from. Sheet 1 has 3 column with
> data col A contain both 8 digits and 4 digit user Id Col B contains the
> location and Col C contains the terminal ID.
>
> Sheet 2 is where I have the formulas doing the IF & Vlookup from.
> Col A is where I import the data into. Col B & C contains the formula
> Col B
> =IF(ISNA(VLOOKUP(A7,Schedule!$A$13:$E$1463,3,FALSE)),"Invalid
> Number"&"",VLOOKUP(LEFT(A7,4),Schedule!$A$13:$E$1463,3,FALSE))
>
> Col C ( If i do not get a match on the 8 digit then I use the 4 digit
> result)
>
> =IF(ISNA(VLOOKUP(LEFT(A8,4),Schedule!$A$12:$E$1439,3,FALSE)),"Invalid
> Number",VLOOKUP(LEFT(A8,4),Schedule!$A$12:$E$1439,3,FALSE))
>
> Is there a way to combine both formulas ( Col b then col C ) into one
> formula / argument.
>
>
> --
> Sat3902
> ------------------------------------------------------------------------
> Sat3902's Profile: http://www.excelforum.com/member.php...o&userid=36777
> View this thread: http://www.excelforum.com/showthread...hreadid=569233
>
>

 
Reply With Quote
 
Sat3902
Guest
Posts: n/a
 
      8th Aug 2006

I thought I had done a reply.

I guess this will be a redo.

have a nice da

--
Sat390
-----------------------------------------------------------------------
Sat3902's Profile: http://www.excelforum.com/member.php...fo&userid=3677
View this thread: http://www.excelforum.com/showthread.php?threadid=56923

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Assistance - Vlookup Bigfoot17 Microsoft Excel Worksheet Functions 4 5th Apr 2010 03:14 PM
VLOOKUP ---> Assistance Needed Himansu Microsoft Excel Programming 5 21st Jan 2009 02:20 PM
Vlookup Assistance required Megan Microsoft Excel New Users 2 4th Nov 2008 04:46 PM
Re: Vlookup assistance Gord Dibben Microsoft Excel Worksheet Functions 0 18th Dec 2006 11:06 PM
Re: Vlookup assistance Bob Phillips Microsoft Excel Worksheet Functions 0 18th Dec 2006 10:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:43 PM.