+ Reply to Thread
Results 1 to 6 of 6

If Cell C has "X", fill Cell D with "Y"

  1. #1
    Registered User
    Join Date
    01-03-2019
    Location
    Nassau, Bahamas
    MS-Off Ver
    365
    Posts
    8

    If Cell C has "X", fill Cell D with "Y"

    Good day,

    Looking for a formula that could help with querying information.

    Example for Sheet 1 (and I apologize, I can't post tables yet due to post limit):


    Email Address Full Name Number
    John.Doe John Doe 7212
    Jane.Doe Jane Doe 7016


    Sheet 2 has a list of numbers for each user.
    7212 3025

    If it finds 7212, then fill in Cell D, on Sheet 1 with 3025.

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

    Re: If Cell C has "X", fill Cell D with "Y"

    I don't believe that there is a post requirement to upload a file. To upload a file:

    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

  3. #3
    Registered User
    Join Date
    01-03-2019
    Location
    Nassau, Bahamas
    MS-Off Ver
    365
    Posts
    8

    Re: If Cell C has "X", fill Cell D with "Y"

    Finally got the data I needed. Here's the test example worksheet.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: If Cell C has "X", fill Cell D with "Y"

    How about
    =INDEX(Sheet2!$A$1:$A$2,MATCH(E1,Sheet2!$B$1:$B$2,0))

  5. #5
    Registered User
    Join Date
    01-03-2019
    Location
    Nassau, Bahamas
    MS-Off Ver
    365
    Posts
    8

    Re: If Cell C has "X", fill Cell D with "Y"

    This worked. Thank you!

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: If Cell C has "X", fill Cell D with "Y"

    You're welcome & thanks for the feedback

+ 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: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Replies: 2
    Last Post: 07-13-2018, 11:52 PM
  3. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  4. Replies: 9
    Last Post: 03-05-2016, 12:53 AM
  5. "Worksheet change" not changing cell on other sheet to match target cell "fill".
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-02-2015, 12:02 PM
  6. Replies: 3
    Last Post: 06-05-2015, 01:55 PM
  7. [SOLVED] Formula Needed to fill multiple cells with "No" when the word "No" is entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2013, 05:36 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