Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Seo Services company Manchester

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-05-2005, 10:21 AM
numerion numerion is offline
Registered User
 
Join Date: 04 May 2005
Posts: 11
numerion is becoming part of the community
Problem with formula

Please Register to Remove these Ads

=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?
Reply With Quote
  #2  
Old 07-05-2005, 10:33 AM
swatsp0p's Avatar
swatsp0p swatsp0p is offline
Forum Guru
 
Join Date: 07 Oct 2004
Location: Minnesota, USA
MS Office Version:Excel 2003
Posts: 1,544
swatsp0p is becoming part of the community
Send a message via MSN to swatsp0p
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
__________________
Bruce
The older I get, the better I used to be.
Minneapolis, MN USA
Reply With Quote
  #3  
Old 07-05-2005, 10:57 AM
numerion numerion is offline
Registered User
 
Join Date: 04 May 2005
Posts: 11
numerion is becoming part of the community
For some reason Im having problems with the "Not Active" statement in the formula Im getting #value! in red as an error?
Reply With Quote
  #4  
Old 07-05-2005, 12:27 PM
swatsp0p's Avatar
swatsp0p swatsp0p is offline
Forum Guru
 
Join Date: 07 Oct 2004
Location: Minnesota, USA
MS Office Version:Excel 2003
Posts: 1,544
swatsp0p is becoming part of the community
Send a message via MSN to swatsp0p
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)),"Not Active",(VLOOKUP($A2,Sheet2!$A$2:$A$14,1,0)))


Does this work for you?
__________________
Bruce
The older I get, the better I used to be.
Minneapolis, MN USA
Reply With Quote
  #5  
Old 07-05-2005, 01:05 PM
Bob Phillips
Guest
 
Posts: n/a
Re: Problem with formula

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

--

HTH

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


"numerion" <numerion.1rpcav_1120576048.5616@excelforum-nospam.com> wrote in
message news:numerion.1rpcav_1120576048.5616@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #6  
Old 07-05-2005, 07:05 PM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote
  #7  
Old 09-05-2005, 10:05 PM
Bob Phillips
Guest
 
Posts: n/a
Re: Problem with formula

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

--

HTH

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


"numerion" <numerion.1rpcav_1120576048.5616@excelforum-nospam.com> wrote in
message news:numerion.1rpcav_1120576048.5616@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #8  
Old 09-05-2005, 10:05 PM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote
  #9  
Old 09-05-2005, 11:05 PM
Bob Phillips
Guest
 
Posts: n/a
Re: Problem with formula

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

--

HTH

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


"numerion" <numerion.1rpcav_1120576048.5616@excelforum-nospam.com> wrote in
message news:numerion.1rpcav_1120576048.5616@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #10  
Old 09-05-2005, 11:05 PM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote
  #11  
Old 09-06-2005, 12:05 AM
Bob Phillips
Guest
 
Posts: n/a
Re: Problem with formula

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

--

HTH

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


"numerion" <numerion.1rpcav_1120576048.5616@excelforum-nospam.com> wrote in
message news:numerion.1rpcav_1120576048.5616@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #12  
Old 09-06-2005, 12:05 AM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote
  #13  
Old 09-06-2005, 01:05 AM
Bob Phillips
Guest
 
Posts: n/a
Re: Problem with formula

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

--

HTH

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


"numerion" <numerion.1rpcav_1120576048.5616@excelforum-nospam.com> wrote in
message news:numerion.1rpcav_1120576048.5616@excelforum-nospam.com...
>
> 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
>



Reply With Quote
  #14  
Old 09-06-2005, 01:05 AM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote
  #15  
Old 09-06-2005, 02:05 AM
Dave Peterson
Guest
 
Posts: n/a
Re: Problem with formula

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 With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump