#1   Report Post  
Junior Member
 
Posts: 2
Arrow Match Columns

I've got two columns of about 1500 site IDs, one (Col A) with a corresponding state name (Col B), the other without (Col C). For the life of me I can't get Excel to match C to A and then put the state name in D. Thank so much!

Col A..................Col B......Col C
siteID..................ST......... SITE_ID
NCCA10-1001....... MA.........NCCA10-1412
NCCA10-1002....... NJ......... NCCA10-1413
NCCA10-1003....... VA......... NCCA10-1417
NCCA10-1004....... MA.........NCCA10-1419
NCCA10-1005....... NY......... NCCA10-1420
  #2   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by junkanu View Post
I've got two columns of about 1500 site IDs, one (Col A) with a corresponding state name (Col B), the other without (Col C). For the life of me I can't get Excel to match C to A and then put the state name in D. Thank so much!

Col A..................Col B......Col C
siteID..................ST......... SITE_ID
NCCA10-1001....... MA.........NCCA10-1412
NCCA10-1002....... NJ......... NCCA10-1413
NCCA10-1003....... VA......... NCCA10-1417
NCCA10-1004....... MA.........NCCA10-1419
NCCA10-1005....... NY......... NCCA10-1420
Solution Found:

=VLOOKUP(C2,$A:$B,2,FALSE) - that spits out the state in D, where the formula was pasted
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
Match 2 Columns, Return 3rd, Differing Match Types Matt.Russett Excel Worksheet Functions 3 May 11th 10 10:45 AM
Match formula to match values in multiple columns K[_2_] Excel Discussion (Misc queries) 2 April 22nd 10 10:22 AM
Match 2 columns to 2 columns in different worksheets Mally Excel Discussion (Misc queries) 6 October 15th 08 02:47 PM
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM


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