+ Reply to Thread
Results 1 to 2 of 2

How to automatically fill a cell based on another table.l

  1. #1
    Registered User
    Join Date
    04-07-2019
    Location
    Mexico
    MS-Off Ver
    2016
    Posts
    6

    How to automatically fill a cell based on another table.l

    Hi, I want my spreadsheet do the folowing:

    When I type Houston it writes "Texas". I will use seven "States" and about 10 cities for each one. I tried with "vloopup" and "lookup" but I got "#N/A" as a result.


    Thanks!
    Attached Files Attached Files
    Last edited by philosopher76; 04-10-2019 at 10:01 PM. Reason: Attaching a file

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: How to automatically fill a cell based on another table.l

    You will need to build a table with the names of the Cities in Column A and the applicable states adjacent in column B. Then you can use Vlookup against that table. To be sure,

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 8
    Last Post: 12-15-2017, 10:42 PM
  2. Automatically fill a cell based on text
    By wlbamc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-01-2016, 08:07 AM
  3. Replies: 4
    Last Post: 03-26-2015, 12:45 PM
  4. Replies: 1
    Last Post: 07-02-2013, 08:58 PM
  5. [SOLVED] VBA referring to a different sheet, automatically fill cell based on content of other cell
    By mweick in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-06-2013, 11:50 AM
  6. Automatically fill in the values based on the value from another cell
    By nicholasma in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2012, 05:51 AM
  7. Replies: 4
    Last Post: 01-26-2010, 02:28 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