#1   Report Post  
chazpot
 
Posts: n/a
Default Excel help


I have a report I need to make which has turned out to be quite
complicated. i need to use some form of lookup function to find info
from one worksheet and place it in another, but the names I need to
reference are slightly different on both sheets as they have come from
different sources and have different abbreviations (hope this makes
sense so far!). When i use an exact lookup it returns N/A, and when i
use a 'best result' lookup it returns the closest, but usually wrong
answer. Is there a way of looking up the first few letters in a string
of text?

Any ideas appreciated!


--
chazpot
------------------------------------------------------------------------
chazpot's Profile: http://www.excelforum.com/member.php...o&userid=26353
View this thread: http://www.excelforum.com/showthread...hreadid=396178

  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

chazpot wrote...
I have a report I need to make which has turned out to be quite
complicated. i need to use some form of lookup function to find info
from one worksheet and place it in another, but the names I need to
reference are slightly different on both sheets as they have come from
different sources and have different abbreviations (hope this makes
sense so far!). When i use an exact lookup it returns N/A, and when i
use a 'best result' lookup it returns the closest, but usually wrong
answer. Is there a way of looking up the first few letters in a string
of text?


'Best result' lookup?

Excel has poor text processing tools, and approximate text matching is
a text processing task rather than a calculation task. There's probably
no way to automate this reliably de novo, BUT you could begin to
maintain a cross-reference table of names from both worksheets so you
wouldn't need to match names manually more than once (but no way to
avoid manual matching once). Perhaps use a third worksheet to hold
names from one worksheet in column A and the matching names from the
other worksheet in column B. Better to put the names from the report
exhibit worksheet in column A. Then you could use formulas like

ReportExhibit!B5: (assuming the cross-referenced name in A5)
=SUMIF(ReportData!$A$3:$A$9999,VLOOKUP(A5,CrossRef erence!$A$1:$B$20000,2),
ReportData!$Z$3:$Z$9999)

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
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


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