Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default PREVENTION OF MULTIPLE LISTINGS OF SAME DATA WITH VLOOKUP

AM TRYING TO STOP MULTIPLE LISTINGS OF DATA IN COLUMNS WHEN USING THE VLOOKUP
COMMAND. NEED SOME IDEA OF HOW TO CHECK CELLS ABOVE THE ONE i AM ENTERING THE
DATA INTO AND APPLYING RESULTS TO THE ROW OF LOOKUPS
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default PREVENTION OF MULTIPLE LISTINGS OF SAME DATA WITH VLOOKUP

Vlookup finds the first matching instance. So any successive formulas
looking for the same value will return the same result.

You might have to use some form of array formula that returns a list of rows
that fill the conditions and successively pull the each row out (SMALL
function) to feed to the Index function. It is really a compound formula
written specifically to the situation, which I am only guessing at.

Another alternative is to write code that extracts the data or look at the
data in place using autofilter or even in another location using Advanced
Filter.

--
Regards,
Tom Ogilvy


"RADIOOZ" wrote:

AM TRYING TO STOP MULTIPLE LISTINGS OF DATA IN COLUMNS WHEN USING THE VLOOKUP
COMMAND. NEED SOME IDEA OF HOW TO CHECK CELLS ABOVE THE ONE i AM ENTERING THE
DATA INTO AND APPLYING RESULTS TO THE ROW OF LOOKUPS

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default PREVENTION OF MULTIPLE LISTINGS OF SAME DATA WITH VLOOKUP

Tom
applied a formula to my lookup worksheets to add a number to the front of
all the data in the lists. This gave me individual numbers for each instance
of a number depending on the qty of previous occurences.

Looked like =COUNTIF($R$1:R2,R3)
and =CONCATENATE(B3,R3) in cell beside that

Seemed to work anyway

Thanks for prev advice it helped me work this out

"Tom Ogilvy" wrote:

Vlookup finds the first matching instance. So any successive formulas
looking for the same value will return the same result.

You might have to use some form of array formula that returns a list of rows
that fill the conditions and successively pull the each row out (SMALL
function) to feed to the Index function. It is really a compound formula
written specifically to the situation, which I am only guessing at.

Another alternative is to write code that extracts the data or look at the
data in place using autofilter or even in another location using Advanced
Filter.

--
Regards,
Tom Ogilvy


"RADIOOZ" wrote:

AM TRYING TO STOP MULTIPLE LISTINGS OF DATA IN COLUMNS WHEN USING THE VLOOKUP
COMMAND. NEED SOME IDEA OF HOW TO CHECK CELLS ABOVE THE ONE i AM ENTERING THE
DATA INTO AND APPLYING RESULTS TO THE ROW OF LOOKUPS

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
Prevention of Printing Deejay Excel Discussion (Misc queries) 1 September 25th 07 12:20 PM
Multiple listings IT_roofer Excel Discussion (Misc queries) 1 April 19th 07 12:02 AM
New document disaster prevention/recovery software [email protected] Excel Discussion (Misc queries) 0 February 22nd 06 09:18 PM
IF statments for multiple listings. imjoel Excel Worksheet Functions 3 April 9th 05 04:38 AM
prevention emergency kay - for experts [email protected] Excel Programming 1 February 4th 05 10:56 AM


All times are GMT +1. The time now is 12:32 AM.

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"