Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
numerion
 
Posts: n/a
Default Problem with formula


=IF(ISERROR((vlookup($A$2:$A$31,
Sheet2!$A$2:$A$14, 1, 0)), "Not Active", ((vlookup($A$2:$A$31,
Sheet2!$A$2:$A$14, 1, 0))).

Im using this formula to take names from one sheet and display on
another sheet but when I put the formula in B2 Im not getting any
results. Can someone help me please?


--
numerion
------------------------------------------------------------------------
numerion's Profile: http://www.excelforum.com/member.php...o&userid=22975
View this thread: http://www.excelforum.com/showthread...hreadid=384538

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


Your Vlookup formula can only read from ONE lookup value (reference
cell) at a time... hence your formula in B2:

=IF(ISERROR((vlookup($A$2:$A$31,Sheet2!$A$2:$A$14, 1,0)), "Not
Active",vlookup($A$2:$A$31,Sheet2!$A$2:$A$14,1,0)) ).

should be:

=IF(ISERROR((vlookup($A2,Sheet2!$A$2:$A$14,1,0))," Not
Active",((vlookup($A2,Sheet2!$A$2:$A$14,1,0))).

then copy this down the range B3:B31. Each cell in 'B' will return
either the matching value from Sheet2 or the "Not Active" text.

Note the change in the vlookup reference from $A$2:$A$31 to $A2. As
you copy this down, the range will change in B3 to $A3, in B4 to $A4,
etc.

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=384538

  #3   Report Post  
numerion
 
Posts: n/a
Default


For some reason Im having problems with the "Not Active" statement in
the formula Im getting #value! in red as an error?


--
numerion
------------------------------------------------------------------------
numerion's Profile: http://www.excelforum.com/member.php...o&userid=22975
View this thread: http://www.excelforum.com/showthread...hreadid=384538

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(ISERROR(VLOOKUP($A2,Sheet2!$A$2:$A$14,1,0)),"N ot
Active",((VLOOKUP($A2,Sheet2!$A$2:$A$14,1,0))))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"numerion" wrote in
message ...

For some reason Im having problems with the "Not Active" statement in
the formula Im getting #value! in red as an error?


--
numerion
------------------------------------------------------------------------
numerion's Profile:

http://www.excelforum.com/member.php...o&userid=22975
View this thread: http://www.excelforum.com/showthread...hreadid=384538



  #5   Report Post  
swatsp0p
 
Posts: n/a
Default


I think there is a syntax error in the original formula, copy and paste
this into B2:

=IF(ISERROR(VLOOKUP($A2,Sheet2!$A$2:$A$14,1,0)),"N ot
Active",(VLOOKUP($A2,Sheet2!$A$2:$A$14,1,0)))


Does this work for you?


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=384538



  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

And you have another response at your other thread in .programming.

numerion wrote:

=IF(ISERROR((vlookup($A$2:$A$31,
Sheet2!$A$2:$A$14, 1, 0)), "Not Active", ((vlookup($A$2:$A$31,
Sheet2!$A$2:$A$14, 1, 0))).

Im using this formula to take names from one sheet and display on
another sheet but when I put the formula in B2 Im not getting any
results. Can someone help me please?

--
numerion
------------------------------------------------------------------------
numerion's Profile: http://www.excelforum.com/member.php...o&userid=22975
View this thread: http://www.excelforum.com/showthread...hreadid=384538


--

Dave Peterson
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
Formula problem on network Philip Reece-Heal Excel Discussion (Misc queries) 2 July 1st 05 01:15 PM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Problem with formula Sundaram Iyer Excel Discussion (Misc queries) 0 June 1st 05 12:49 AM
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
Need a formula for this problem Trying to excel in life but need help Excel Worksheet Functions 1 January 12th 05 11:05 AM


All times are GMT +1. The time now is 08:47 PM.

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"