+ Reply to Thread
Results 1 to 3 of 3

Trouble when inserting row into data when referenced for combo box

  1. #1
    Registered User
    Join Date
    08-26-2008
    Location
    Seattle
    Posts
    4

    Trouble when inserting row into data when referenced for combo box

    I have a worksheet of data (called SA DATA) with names and addresses.
    Columns ABCDEF are (A) name, (B) address, (C) city, (D) state, (E) zip, (F) country. This data source was defined as: Sales_Agents_Addresses

    On additional sheets, I wanted to have the address auto fill when the name was selected from a drop down. I used the 'Combo Box' for the drop down, then used formulas - one in each cell to pull out the name, address, city, state, etc...
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    (see examples for Rich Whatever and Rob Faker in attached xls, top left corner where name and address is).

    This worked fine for auto filling the address when a name was chosen from the drop down.
    My issue is that each sales agent will have their own sheet, so the name needs to remain the same at the top, but if I insert new row into the Sales_Agents_Addresses data, then it changes the data on the corresponding sheets.Meaning if insert a row between Rich Whatever and Rob Faker, and put in the name and address of another sales rep, then when I go to the Rob Faker worksheet, the name and address is no longer Rob Faker, but the new entry.

    Does anyone else have a better solution that would enable me to add rows and additional data into the data sheet, with out changing corresponding worksheets?
    Thank you
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-29-2007
    Posts
    47
    For some reason, I am unable to open your spreadsheet - but have you considered using a Vlookup?

    You could set up the vlookup as follows:

    Please Login or Register  to view this content.
    and then continue that formula for the other variables - just changing the column number...

  3. #3
    Registered User
    Join Date
    08-26-2008
    Location
    Seattle
    Posts
    4
    humm. I am not very familiar with vlookup, so I will have to see how I can make that work.
    I've attached the xls again - not sure why you weren't able to open it, but hopefully it works now.

    Thanks
    Attached Files Attached Files

+ 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. Inserting Data form a Spreadsheet Into a Mail Merge
    By Tnesper in forum Excel General
    Replies: 4
    Last Post: 08-13-2008, 06:32 PM
  2. Pairing two data sets, both with missing data
    By Peter Chapman in forum Excel General
    Replies: 2
    Last Post: 06-10-2008, 04:43 AM
  3. Inserting data
    By Gavin Ling in forum Excel General
    Replies: 0
    Last Post: 06-06-2008, 12:20 PM
  4. inserting rows when refreshing external data
    By jen_cg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-23-2007, 09:49 AM
  5. Macro or Formula to extract data
    By incognito in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2007, 11:28 PM

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