Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
tim tim is offline
external usenet poster
 
Posts: 105
Default VLOOKUP help

I would like to use a multiple LOOKUP statement.
What I have so far is:
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!
F1:G59,2)),"",VLOOKUP('Sheet1'!R33,'Sheet10'!F1:G5 9,2))
This is in a large cell (basically a text box)
What I would like to do is add LOOKUPs from Sheet1 R34,
R35 and R36, I would like them to drop down a line or two
(new paragraph) then post the text.
Each VLOOKUP, if there is data in R34, R35 or R36 would be
a new paragraph in this large cell.
Is it possible to force it to drop down a line?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default VLOOKUP help

Hi Tim
try
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!F1:G59,2)) ,"",VLOOKUP('Sheet1'!
R33,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R34,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
34,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R35,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
35,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R36,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
36,'Sheet10'!F1:G59,2))

Frank



Tim wrote:
I would like to use a multiple LOOKUP statement.
What I have so far is:
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!
F1:G59,2)),"",VLOOKUP('Sheet1'!R33,'Sheet10'!F1:G5 9,2))
This is in a large cell (basically a text box)
What I would like to do is add LOOKUPs from Sheet1 R34,
R35 and R36, I would like them to drop down a line or two
(new paragraph) then post the text.
Each VLOOKUP, if there is data in R34, R35 or R36 would be
a new paragraph in this large cell.
Is it possible to force it to drop down a line?



  #3   Report Post  
Posted to microsoft.public.excel.programming
tim tim is offline
external usenet poster
 
Posts: 105
Default VLOOKUP help

Frank, I'm getting #NAME?
I don't know if it's something I'm doing or not




-----Original Message-----
Hi Tim
try
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!
R33,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R34,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
34,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R35,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
35,'Sheet10'!F1:G59,2)) & CHR(10) &
IF(ISNA(VLOOKUP('Sheet2'!R36,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
36,'Sheet10'!F1:G59,2))

Frank



Tim wrote:
I would like to use a multiple LOOKUP statement.
What I have so far is:
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!
F1:G59,2)),"",VLOOKUP('Sheet1'!R33,'Sheet10'!F1:G5 9,2))
This is in a large cell (basically a text box)
What I would like to do is add LOOKUPs from Sheet1 R34,
R35 and R36, I would like them to drop down a line or

two
(new paragraph) then post the text.
Each VLOOKUP, if there is data in R34, R35 or R36 would

be
a new paragraph in this large cell.
Is it possible to force it to drop down a line?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default VLOOKUP help

Hi Tim

sorry my fault. Replace all occurences of CHR(10) with CHAR(10)

Frank

Frank Kabel wrote:
Hi Tim
try

=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!F1:G59,2)) ,"",VLOOKUP('Sheet1'!
R33,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R34,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
34,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R35,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
35,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R36,'Sheet10'!F1:G59,2)), "",VLOOKUP('Sheet1'!R
36,'Sheet10'!F1:G59,2))

Frank



Tim wrote:
I would like to use a multiple LOOKUP statement.
What I have so far is:
=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!
F1:G59,2)),"",VLOOKUP('Sheet1'!R33,'Sheet10'!F1:G5 9,2))
This is in a large cell (basically a text box)
What I would like to do is add LOOKUPs from Sheet1 R34,
R35 and R36, I would like them to drop down a line or two
(new paragraph) then post the text.
Each VLOOKUP, if there is data in R34, R35 or R36 would be
a new paragraph in this large cell.
Is it possible to force it to drop down a line?



  #5   Report Post  
Posted to microsoft.public.excel.programming
tim tim is offline
external usenet poster
 
Posts: 105
Default VLOOKUP help

That's got it.

Thanks for your help Frank


-----Original Message-----
Hi Tim

sorry my fault. Replace all occurences of CHR(10) with

CHAR(10)

Frank

Frank Kabel wrote:
Hi Tim
try

=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!
R33,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R34,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
34,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R35,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
35,'Sheet10'!F1:G59,2)) & CHR(10) &

IF(ISNA(VLOOKUP('Sheet2'!R36,'Sheet10'!

F1:G59,2)),"",VLOOKUP('Sheet1'!R
36,'Sheet10'!F1:G59,2))

Frank



Tim wrote:
I would like to use a multiple LOOKUP statement.
What I have so far is:




=IF(ISNA(VLOOKUP('Sheet2'!R33,'Sheet10'!
F1:G59,2)),"",VLOOKUP('Sheet1'!R33,'Sheet10'!F1:G5 9,2))
This is in a large cell (basically a text box)
What I would like to do is add LOOKUPs from Sheet1 R34,
R35 and R36, I would like them to drop down a line or

two
(new paragraph) then post the text.
Each VLOOKUP, if there is data in R34, R35 or R36

would be
a new paragraph in this large cell.
Is it possible to force it to drop down a line?



.

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
If (Vlookup 0) working, but what if Vlookup cell does not exist Steve Excel Worksheet Functions 18 November 18th 09 07:33 PM
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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