Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Text comparison - closest match

"pappu" wrote:
Looks like it will solve my problem. Thanks a lot. But my data is in
almost 15000 rows. Will it be applicable?


It should still work, notwithstanding ...

As the calculation overhead is going v.heavy, try switching the book's calc
mode to Manual first via clicking: Tools Options Calculation tab Check
Manual OK
Then when all formulas are filled, just press F9 to recalc (Go for a short
break, it might take awhile for recalc to complete <g)

Then just adapt the ranges within the topline formulas for cols E to N to
suit the reference source data extent (15000?). For example:

In E2, array-entered*:
=INDEX('1'!$C$2:$C$100,MATCH(1,(ISNUMBER(SEARCH(TR IM(D2),TRIM('1'!$D$2:$D$100))))*('1'!$D$2:$D$100< ""),0))

would become:
=INDEX('1'!$C$2:$C$15000,MATCH(1,(ISNUMBER(SEARCH( TRIM(D2),TRIM('1'!$D$2:$D$15000))))*('1'!$D$2:$D$1 5000<""),0))

Then fill down the topline formulas in C2:N2 as far as you have data in
sheet: 2
(I don't know how many lines you have in sheet: 2)

Sorry, I don't understand about Excel Array.


The special way to confirm/register the array formulas in cols E to N and in
col C via pressing CTRL+SHIFT+ENTER (instead of just pressing ENTER) is
crucial. If correctly confirmed, Excel will then insert/wrap curly braces { }
around the formula. You can see/verify this in the formula bar.

Note: *Do not* type these curly braces into the formulas
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
need to select closest match using vlookup if it higher or lower vlookup help pls Excel Discussion (Misc queries) 1 March 1st 06 07:30 PM
Find the closest match to a reference number in a row of unsorted Nick Krill Excel Worksheet Functions 3 January 1st 06 08:33 PM
I need to use a number in one worksheet to match text in another gillesda Excel Worksheet Functions 1 July 21st 05 11:45 PM
How can I do a "best match" for text entries? NeedDataHelp Excel Worksheet Functions 1 February 25th 05 12:27 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


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