Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2006

Tip: Looking for answers? Try searching our database.

2 sheet replaceing; row on 1st sheet with row from 2nd sheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
banderson@nwws.biz - 31 Aug 2006 17:31 GMT
I have 2 sheet in the same workbook:
(APCURRENT,CORPCONTACT)
Both sheets have a column "vendor name".

I want to look at APCURRENT "vendor name" and if the corresponding
CORPCONTACT "vendor name" is the same take the informating in that row
of CORPCONTACT(address1, address 2, city, st, zip code) and replace
then
APCURRENT(address1, address2, city, st, zip code) with it.
But only do this if the to "vendor name" cells are the same.
So for instance.
APCURRENT
    column A           column B            column C        column D
Col F  Column G
Vendor Name          address 1            address2          city
  st     zip code

A Y MCDONALD    PO BOX 123        1st Ave. N       New York    NY
11111

CORPCONTACT
   column A            column B            column C       column D
Col F  Column G
Vendor Name         address 1            address 2        city
  st      zip code

A Y MCDONALD    PO BOX 546        2nd Ave. N      Fargo          ND
58133

Vendor names are the same, so replace the APCURRENT INFORMATION with
the CORPCONTACT information.

Any help would be greatly appreciated.
Thanks
R..VENKATARAMAN - 01 Sep 2006 02:52 GMT
will not VLOOKUP be useful here?
vlookup will be useful if the vendor name is in the first column in sheet
2(corp contact sheet)or atleast in the relevant range.
use this function in sheet1(apcurrent) referring to sheet2.
something like this
=vlookup(a2,sheet2!(the range),(column no.taking vendor name as column
1),false)
otherwise index-match combination can be used.
see help.

>I have 2 sheet in the same workbook:
> (APCURRENT,CORPCONTACT)
[quoted text clipped - 30 lines]
> Any help would be greatly appreciated.
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.