Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Micayla Bergen
 
Posts: n/a
Default IF vlookup return "value"

i want the cell to check 3 worksheets from another workbook and return S, FI
or PI depending on which sheet it is on, have the following but know its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My Documents\MDA\[copy
2Share Recommendations.xls]Property & Infrastructure'!$B$10:$D$413,PI,))))))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default IF vlookup return "value"

Hi!

Yuck!

Maybe something like this:

=IF(COUNTIF('Path\[copy 2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path\[copy
2share recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path \[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))

Replace "Path" with:

'C:\Documents and Settings\Gillian Mason\My Documents\MDA

Biff

"Micayla Bergen" wrote in message
...
i want the cell to check 3 worksheets from another workbook and return S,
FI
or PI depending on which sheet it is on, have the following but know its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2Share Recommendations.xls]Property &
Infrastructure'!$B$10:$D$413,PI,))))))



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Micayla Bergen
 
Posts: n/a
Default IF vlookup return "value"

Thanks Biff. now it seems to work in that it doesnt ask for more info, but it
is blank when i know the value in A4 is on the first worksheet of the other
doc.
what say you

=IF(COUNTIF('€˜C:\Documents and Settings\Gillian Mason\My Documents\MDA\[copy
2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('€˜C:\Doc uments
and Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('€˜C :\Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Property & Infrastructure'!$B$10:$B$413,A4),"PI","None")))


"Biff" wrote:

Hi!

Yuck!

Maybe something like this:

=IF(COUNTIF('Path\[copy 2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path\[copy
2share recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path \[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))

Replace "Path" with:

'C:\Documents and Settings\Gillian Mason\My Documents\MDA

Biff

"Micayla Bergen" wrote in message
...
i want the cell to check 3 worksheets from another workbook and return S,
FI
or PI depending on which sheet it is on, have the following but know its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2Share Recommendations.xls]Property &
Infrastructure'!$B$10:$D$413,PI,))))))




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default IF vlookup return "value"

Hi!

What do you mean by: "it doesnt ask for more info" ?

it is blank when i know the value in A4


What is blank? The result of the formula? It can't be. The only possible
values that it can return a S, FI, PI or NONE (or an error if you have
errors in any of those ranges).

Biff

"Micayla Bergen" wrote in message
...
Thanks Biff. now it seems to work in that it doesnt ask for more info, but
it
is blank when i know the value in A4 is on the first worksheet of the
other
doc.
what say you

=IF(COUNTIF(''C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF(''C:\Docum ents
and Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF(''C:\ Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))


"Biff" wrote:

Hi!

Yuck!

Maybe something like this:

=IF(COUNTIF('Path\[copy 2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path\[copy
2share recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path \[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))

Replace "Path" with:

'C:\Documents and Settings\Gillian Mason\My Documents\MDA

Biff

"Micayla Bergen" wrote in
message
...
i want the cell to check 3 worksheets from another workbook and return
S,
FI
or PI depending on which sheet it is on, have the following but know
its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents
and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2Share Recommendations.xls]Property &
Infrastructure'!$B$10:$D$413,PI,))))))






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Micayla Bergen
 
Posts: n/a
Default IF vlookup return "value"

thats exactly right! it returns nothing, whereas it should return something.
what i mean by ask for more info is if the formula was incomplete or
incorrect it usually has a dialogue box to that effect.

"Biff" wrote:

Hi!

What do you mean by: "it doesnt ask for more info" ?

it is blank when i know the value in A4


What is blank? The result of the formula? It can't be. The only possible
values that it can return a S, FI, PI or NONE (or an error if you have
errors in any of those ranges).

Biff

"Micayla Bergen" wrote in message
...
Thanks Biff. now it seems to work in that it doesnt ask for more info, but
it
is blank when i know the value in A4 is on the first worksheet of the
other
doc.
what say you

=IF(COUNTIF(''C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF(''C:\Docum ents
and Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF(''C:\ Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))


"Biff" wrote:

Hi!

Yuck!

Maybe something like this:

=IF(COUNTIF('Path\[copy 2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path\[copy
2share recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path \[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))

Replace "Path" with:

'C:\Documents and Settings\Gillian Mason\My Documents\MDA

Biff

"Micayla Bergen" wrote in
message
...
i want the cell to check 3 worksheets from another workbook and return
S,
FI
or PI depending on which sheet it is on, have the following but know
its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents
and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2Share Recommendations.xls]Property &
Infrastructure'!$B$10:$D$413,PI,))))))








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Micayla Bergen
 
Posts: n/a
Default IF vlookup return "value"

sorry, i had my text in white. it is returning a value error.

"Biff" wrote:

Hi!

What do you mean by: "it doesnt ask for more info" ?

it is blank when i know the value in A4


What is blank? The result of the formula? It can't be. The only possible
values that it can return a S, FI, PI or NONE (or an error if you have
errors in any of those ranges).

Biff

"Micayla Bergen" wrote in message
...
Thanks Biff. now it seems to work in that it doesnt ask for more info, but
it
is blank when i know the value in A4 is on the first worksheet of the
other
doc.
what say you

=IF(COUNTIF(''C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF(''C:\Docum ents
and Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF(''C:\ Documents and
Settings\Gillian Mason\My Documents\MDA\[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))


"Biff" wrote:

Hi!

Yuck!

Maybe something like this:

=IF(COUNTIF('Path\[copy 2share
recommendations.xls]Stocks'!$B$10:$B$413,A4),"S",IF(COUNTIF('Path\[copy
2share recommendations.xls]Income
securities'!$B$10:$B$413,A4),"FI",IF(COUNTIF('Path \[copy 2share
recommendations.xls]Property &
Infrastructure'!$B$10:$B$413,A4),"PI","None")))

Replace "Path" with:

'C:\Documents and Settings\Gillian Mason\My Documents\MDA

Biff

"Micayla Bergen" wrote in
message
...
i want the cell to check 3 worksheets from another workbook and return
S,
FI
or PI depending on which sheet it is on, have the following but know
its
wrong, cannot fine tune. thanks anyone

=IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy 2Share
Recommendations.xls]Stocks'!$B$10:$D$413,S,IF(VLOOKUP(A4,'C:\Documents
and
Settings\Gillian Mason\My Documents\MDA\[copy 2Share
Recommendations.xls]Income Securities'!$B$10:$D$413,FI,
IF(VLOOKUP(A4,'C:\Documents and Settings\Gillian Mason\My
Documents\MDA\[copy
2Share Recommendations.xls]Property &
Infrastructure'!$B$10:$D$413,PI,))))))






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 function return all values j2thea Excel Worksheet Functions 20 November 2nd 05 10:32 PM
Excel 2000 VLOOKUP returns #N/A unless press F2 return on source? Colin Excel Worksheet Functions 3 August 31st 05 01:10 PM
Using a Vlookup to return values in a data list? rtjeter Excel Worksheet Functions 2 April 26th 05 05:56 AM
Want VLookup to Return the row above JoOwl0 Excel Worksheet Functions 8 April 23rd 05 07:16 PM
Vlookup of an if statement return James Excel Worksheet Functions 2 April 6th 05 10:28 PM


All times are GMT +1. The time now is 11:38 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"