LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Max
 
Posts: n/a
Default Vlookup is not enough ... can OFFSET be used ?

"Brian Ferris" wrote:
... Is there some other way ???


Another play to try using non-array formulas ..

Assume source data is in Sheet1, cols A & B, data from row2 down

Using 2 empty cols to the right, cols C and D

List the numbers in D1 down: 12, 33 (numbers can be listed in any order)

Put in C2:
=IF(ISNUMBER(MATCH(A2,D:D,0)),A2+ROW()/10^10,"")

Copy C2 down to say, C100, to cover the max expected data in cols A & B

(Leave C1 empty)

In Sheet2
-----
Put in A2:
=IF(ISERROR(SMALL(Sheet1!$C:$C,ROWS($A$1:A1))),"",
INDEX(Sheet1!A:A,MATCH(
SMALL(Sheet1!$C:$C,ROWS($A$1:A1)),Sheet1!$C:$C,0)) )

Copy A2 across to B2, fill down to B100
(cover the same extent as was done in col C in Sheet1)

Sheet2 will return the desired results from Sheet1 in cols A & B,
all neatly bunched at the top
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


 
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
Offset And Vlookup Combo Help!! kollizion Excel Worksheet Functions 3 August 30th 05 05:07 AM
Vlookup then OFFSET over and down mendozalaura Excel Worksheet Functions 3 August 24th 05 12:32 AM
Which to use - if, vlookup, match, index, offset, vba? punsterr Excel Discussion (Misc queries) 3 June 7th 05 07:42 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM
offset and vlookup cutsygurl Excel Worksheet Functions 1 November 5th 04 09:47 PM


All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"