 | 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.... | | 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.
__________________ 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! | | Member with 41 posts. | | |
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!!!! | | 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. | | Member with 41 posts. | | |
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 | | 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.... | | Member with 41 posts. | | |
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. | | 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! | | 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. | | 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! | | Member with 41 posts. | | |
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? | | 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! | | Member with 41 posts. | | |
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. | | Member with 41 posts. | | |
19-Sep-2008, 12:18 PM
#29 | | | | Member with 41 posts. | | |
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. |  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.
| You Are Using: |
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. | |
|