Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula help


Andy Wrote:
Hi,,,, solve my headache

I have 2 sheets within excel. i need a formula that will check the
names from 2 sheets, if it has the same name then it will enter into
sheet2 column G the contact number ( Sheet 1 - column C)

How the spread sheet is setup at the min!!
Sheet 1! In column A I have Surname - column B I have first name -
column C contact Number.
Sheet 2! In column A first name - column B surname.


TIA
Much appreciate any help


If you can make do by checking only first name or only surname ( you
cannot match both name and surname ) and then want to fill up the
contact number in Col G then you could try Vlookup. Suppose you want to
match surname. Let us assume that your table on sheet 1 has 20 rows of
data ( 1 to 20 ) then your lookup range is A1:C20. Also assume that
your table on sheet 2 starts from row 1 then formula for G1 would be
VLOOKUP(A1,sheet1!A1:C20,3). You can autofill this formula to all the
cells in G down below.

And yes one more pointer. Data in sheet 1 (A1:C20) should be sorted on
A1( Surname) in ascending order.

A V Veerkar


--
avveerkar
------------------------------------------------------------------------
avveerkar's Profile: http://www.excelforum.com/member.php...o&userid=30338
View this thread: http://www.excelforum.com/showthread...hreadid=506533

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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 03:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"