Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Archive: Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor network networking outlook problem processor ram recovery router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications > Archive: Business Applications >
Solved: Excel 2003- Matching text to a number.

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
18-Sep-2008, 03:04 PM #16
LOL - it may just have been that you hit 10 posts that caused it to become enabled....
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
18-Sep-2008, 03:20 PM #17
It always helps to actually post the design of the real worksheet, not just a concept...if you had, you would have had your answer yesterday.
Here you go, with the data in Column G.
The one error I found was that Ehrenberg had a space preceding or following it, so I copied it over from Sheet2.
You might want to consider using a drop-down list on Sheet1 so you don't get errors of that sort.
Attached Files
File Type: xls Help!! Tech support Guy. Updated v2.xls (30.5 KB, 75 views)
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
18-Sep-2008, 04:21 PM #18
Excel 2003- Matching text to a number
I am completely 100% sorry. This is 100% my actual current spreadsheet with minor changes. How do I handle locations with spaces in there names? - Take a look at me spreadsheet. Is there a way without a drop box? Or, is the only way with a drop box? Once again!! I'm sorry!!!!
Attached Files
File Type: xls Help!! Tech support Guy. Updated..xls (29.5 KB, 61 views)
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
18-Sep-2008, 05:04 PM #19
No need to be sorry - just letting you know that you will get faster answers if you ask directly for what you need.
As for what to do in your workbook, the formula works as it was in the last file I uploaded.
See attached.
Attached Files
File Type: xls Help!! Tech support Guy. Updatedv3.xls (36.0 KB, 55 views)
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
18-Sep-2008, 05:36 PM #20
Excel 2003- Matching text to a number.
Please take a look at my spreadsheet and correct the problem. Thanks
Attached Files
File Type: xls Help!! Tech support Guy. Updated..xls (33.5 KB, 56 views)
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
18-Sep-2008, 06:15 PM #21
I have never used data validation for lists...but I am sure someone here knows how....
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
18-Sep-2008, 06:31 PM #22
What if we scratch the column G. What if we moved it to column L. I will use the equals sign to bring it back to column G. Is the spacing a problem for the locations? Can you change the formula to column L instead of G. Thanks again for your help.
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
18-Sep-2008, 11:53 PM #23
You can just copy the formula (copy and paste it using the formula bar, don't copy and paste from the cell, because then Excel will change the columns it looks at) from column G over to L without changing it, since it is comparing things in two different columns altogether.
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
Nic Cunliffe's Avatar
Computer Specs
Junior Member with 22 posts.
 
Join Date: Sep 2008
Location: Derbyshire
Experience: Intermediate
19-Sep-2008, 03:36 AM #24
Hi,

A vlookup() should do this for you.

Pick the next empty cell to the right of Ogden, Utah in sheet 1 and enter the formula:

eg. =vlookup(a2,sheet2!;a1:g600,1,false).

In words it is trying to say...
lookup name "ogden, utah, in sheet 2, range a1 to whatever, if you find an exact match, bring back the value in 2nd col of the range.

Using the function wizard will help you to get the structure correct. The 3 digit number must also be to the right of the place name for this to work.
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
19-Sep-2008, 11:13 AM #25
Nic, a VLOOKUP won't work because the data it is searching is not sorted...one of the problems of VLOOKUP.
That is why I used Index/Match - the formula is
=IF(ISNA(INDEX(Sheet2!A:B,MATCH(I2,Sheet2!B:B,0),1)),"MISSING",INDEX(Sheet2 !A:B,MATCH(I2,Sheet2!B:B,0),1))

But if you can help with devising a drop-down list, that would be great.
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
19-Sep-2008, 11:24 AM #26
Excel 2003- Matching text to a number.
If I had all the sites in alphabetical order would the VLOOKUP command work?
slurpee55's Avatar
Computer Specs
Distinguished Member with 6,294 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
19-Sep-2008, 11:56 AM #27
No, you still get a #N/A error...but don't worry about that - the file I uploaded uses a more complex formula but it works great.
This part
IF(ISNA(INDEX(Sheet2!A:B,MATCH(I2,Sheet2!B:B,0),1)),"MISSING"
merely checks to see if the response will be #N/A (when it MATCH-es the data in I2 with the data in Sheet2 column B) and if it will be, it gives the response of Missing.
The second part
INDEX(Sheet2 !A:B,MATCH(I2,Sheet2!B:B,0),1))
- which only comes into play after it checks to see if it will return a #N/A and the answer is no - then displays the match.
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
19-Sep-2008, 11:58 AM #28
Is there a way to add a sheet 2 column B is equal to column A? This VLOOKUP pulls up the site name but not the site number from sheet 2.

***VLOOKUP(I34,Sheet2!B3:B602,1,FALSE)LOOKUP(I34,Sheet2!B3:B602,1,FALSE)** Note: I have also put all my site names in alphabetical order. I think this made a difference.
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
19-Sep-2008, 12:18 PM #29
Slurpee55.
Can
Tonservices's Avatar
Member with 41 posts.
 
Join Date: Sep 2008
19-Sep-2008, 12:23 PM #30
Slurpee,
I am having troubles with this formula. Can you show me a demostration with my last attachment with the formula working. This attachment has travel plaza for each location. I understand now your comment about N/A for the VLOOKUP. I could only hoped this formula would be the solution. Thanks.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:48 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.