+ Reply to Thread
Results 1 to 4 of 4

Cell referencing two worksheets based on a name or location

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    40

    Unhappy Cell referencing two worksheets based on a name or location

    Hi Guys

    I have a workbook with two worksheets. One contains Customer order data and the other contains customer agent details. The Customer Order data worksheet is pulled from elsewhere therefore I wanted to create an empty shell if there is such a thing. This shell will allow the user to be able to automatically populate the customer order data sheet with the details of the customer care agent once pasted into the workbook.

    N.B Please note that the first worksheet will always be empty and the idea is that once data has been pulled into the workbook then the formulas will become active. The details in the Customer Care worksheet are just an example as this worksheet will always be empty.

    I dont know what the best formula is in order to do this . Its just that I do not want the spreadsheet to return incorrect contact details!

    Please find the workbook attached below.

    Customer Database Mock.xlsx

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,064

    Re: Cell referencing two worksheets based on a name or location

    Hi there. try this out.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Cell referencing two worksheets based on a name or location

    in G4

    =IFERROR(VLOOKUP($E4,'Customer Agent List '!$A$4:$C$9,2,),"")

    in H4

    =IFERROR(VLOOKUP($E4,'Customer Agent List '!$A$4:$C$9,3,),"")


    Copy down in both cases

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Cell referencing two worksheets based on a name or location

    See the file attached..
    Attached Files Attached Files
    Cheers!
    Deep Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Referencing Cell Value from Variable Location
    By 1michael in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2013, 01:19 PM
  2. Search multiple worksheets for matching cell value and return cell location as a hyperlink
    By wickedsparrow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2013, 08:47 PM
  3. Replies: 5
    Last Post: 12-19-2012, 09:16 AM
  4. Cell Referencing across Worksheets
    By harshpthakkar in forum Excel General
    Replies: 1
    Last Post: 03-06-2010, 07:02 PM
  5. Referencing cell location in formulas
    By FM1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2008, 09:55 AM
  6. referencing same cell in several worksheets
    By coriolis in forum Excel General
    Replies: 2
    Last Post: 05-19-2006, 07:51 PM
  7. Cell referencing in different worksheets
    By j2dizzo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-22-2005, 02:08 PM
  8. cell referencing from a dynamic location
    By djrivum in forum Excel General
    Replies: 0
    Last Post: 01-21-2005, 12:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1