A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

matching cell values



 
 
Thread Tools Display Modes
  #1  
Old September 25th, 2008, 04:27 PM posted to microsoft.public.excel.worksheet.functions
Geofridu
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  
Old September 25th, 2008, 05:16 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
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  
Old September 25th, 2008, 06:49 PM posted to microsoft.public.excel.worksheet.functions
Geofridu
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.