Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default matching cell values

I have a spreadsheet with cities and time zones. I have another with zip
codes, cities, states, and area codes. I would like to match up the time
zones with the cities in the second spreadsheet. I think the dlookup
function will do this, but I am not sure how to go about doing it - even
using the cities columns as a basis to match up on.

Any one out there who can help?

Thank you for your help and advice.

G
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default matching cell values

Hi

On sheet2 with the Area codes etc, in cell E2 enter
=VLOOKUP(B2,Sheet1!A:B,2,0)
and copy down as far as required.

--
Regards
Roger Govier

"Geofridu" wrote in message
...
I have a spreadsheet with cities and time zones. I have another with zip
codes, cities, states, and area codes. I would like to match up the time
zones with the cities in the second spreadsheet. I think the dlookup
function will do this, but I am not sure how to go about doing it - even
using the cities columns as a basis to match up on.

Any one out there who can help?

Thank you for your help and advice.

G


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default matching cell values

Roger, thanks for the help.

Had issues with the cities having the same name but in different states and
the formula didn't copy down. I had to fix that with the "hard cell
reference" $A$1 versus A1 but was able to get done what I needed.

Thank you again for the help! It got me going in the right direction!

"Roger Govier" wrote:

Hi

On sheet2 with the Area codes etc, in cell E2 enter
=VLOOKUP(B2,Sheet1!A:B,2,0)
and copy down as far as required.

--
Regards
Roger Govier

"Geofridu" wrote in message
...
I have a spreadsheet with cities and time zones. I have another with zip
codes, cities, states, and area codes. I would like to match up the time
zones with the cities in the second spreadsheet. I think the dlookup
function will do this, but I am not sure how to go about doing it - even
using the cities columns as a basis to match up on.

Any one out there who can help?

Thank you for your help and advice.

G


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
Cell insertion if values not matching Susan Excel Worksheet Functions 2 May 12th 08 05:05 PM
Finding Most Recent Values in Col1 -- Summing Matching Values Rothman Excel Discussion (Misc queries) 5 December 20th 07 08:19 PM
Matching Values Plexed Excel Discussion (Misc queries) 1 July 6th 07 09:00 AM
find a cell matching separate column and row values LQEngineer Excel Worksheet Functions 2 July 26th 06 07:10 AM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM


All times are GMT +1. The time now is 09:43 PM.

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"