Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bobpants
 
Posts: n/a
Default Should be really easy lookup !


Hi,

Was trying to achieve the following - which seems easy in concept...

You look up a row entry on another worksheet and return it to the
current worksheet.

however, if the row entry is blank, return the next row entry down
instead, unless this row is blank in which case return the next one and
so on and so on etc.

Any help to do this appreciated

thanks
bob


--
bobpants
------------------------------------------------------------------------
bobpants's Profile: http://www.excelforum.com/member.php...o&userid=24909
View this thread: http://www.excelforum.com/showthread...hreadid=384472

  #2   Report Post  
bj
 
Posts: n/a
Default

If, when you say row, you mean one particular cell in the row
if your first row of interest is row 3 for example and Column A
to identify the first row with data, set up a cell, say A3, with
=min(if(A3:A100="",100,row(A3:A100))
Enter as array (Control-shift-enter)
in your row of interest enter
=indirect("sheet2!R"&$A$3&"C"&column()) and copy across as far as you need.
"bobpants" wrote:


Hi,

Was trying to achieve the following - which seems easy in concept...

You look up a row entry on another worksheet and return it to the
current worksheet.

however, if the row entry is blank, return the next row entry down
instead, unless this row is blank in which case return the next one and
so on and so on etc.

Any help to do this appreciated

thanks
bob


--
bobpants
------------------------------------------------------------------------
bobpants's Profile: http://www.excelforum.com/member.php...o&userid=24909
View this thread: http://www.excelforum.com/showthread...hreadid=384472


  #3   Report Post  
bj
 
Posts: n/a
Default

Duh, Too early in the morning
equation should be
=indirect("sheet2!R"&$A$3&"C"&column(),False)

"bobpants" wrote:


"bj" wrote:

If, when you say row, you mean one particular cell in the row
if your first row of interest is row 3 for example and Column A
to identify the first row with data, set up a cell, say A3, with
=min(if(A3:A100="",100,row(A3:A100))
Enter as array (Control-shift-enter)
in your row of interest enter
=indirect("sheet2!R"&$A$3&"C"&column()) and copy across as far as you need.
"bobpants" wrote:


Hi,

Was trying to achieve the following - which seems easy in concept...

You look up a row entry on another worksheet and return it to the
current worksheet.

however, if the row entry is blank, return the next row entry down
instead, unless this row is blank in which case return the next one and
so on and so on etc.

Any help to do this appreciated

thanks
bob


--
bobpants
------------------------------------------------------------------------
bobpants's Profile: http://www.excelforum.com/member.php...o&userid=24909
View this thread: http://www.excelforum.com/showthread...hreadid=384472


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
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Help - Easy Q not sure if need IF or LOOKUP Bran987 Excel Discussion (Misc queries) 3 June 2nd 05 03:27 AM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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