+ Reply to Thread
Results 1 to 4 of 4

I'm trying to fill cell based on whether one cell's data matches another's

  1. #1
    Registered User
    Join Date
    05-02-2010
    Location
    USA
    MS-Off Ver
    Excel 2010, 2013
    Posts
    11

    I'm trying to fill cell based on whether one cell's data matches another's

    I have a spreadsheet (example below) with a ton of information in it where column A has a date that corresponds to a unique number in column B. Column J has some of the same numbers that are in column B. I hoping to take the date in column A that corresponds with a number in column B and insert that date in column K if the number in column J is found to match a number in column B. I've tried using IF functions but haven't had much luck. This one seems like it should be easy but I'm at a mental block. Any help is appreciated.

    Thank you!

    Capture.JPG

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: I'm trying to fill cell based on whether one cell's data matches another's

    Try this:

    =IFERROR(INDEX(A$2:A$11,MATCH(J2,B$2:B$11,0)),"")

    Extend the ranges to suit. Drag copy down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-02-2010
    Location
    USA
    MS-Off Ver
    Excel 2010, 2013
    Posts
    11

    Re: I'm trying to fill cell based on whether one cell's data matches another's

    That was fast! You are amazing, I really appreciate it! Thank you!!!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: I'm trying to fill cell based on whether one cell's data matches another's

    You're welcome!

+ 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. Auto fill of data in one cell based on another cell in same sheet
    By goribmama in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-08-2015, 01:28 PM
  2. Multiple matches in one row then fill in new cell.
    By ragingfred in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-18-2015, 01:41 PM
  3. Replies: 2
    Last Post: 12-02-2014, 06:23 PM
  4. [SOLVED] formulae for cell fill based on data in another cell
    By jonmckennawait in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2013, 10:49 AM
  5. [SOLVED] Fill one cell based on data in another cell.
    By Fety in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-31-2013, 07:14 PM
  6. auto fill data in one cell based on formatting of another cell
    By ashouse in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-21-2013, 04:48 PM
  7. Cell fill colour based on chosen cell data validation value
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2010, 05:33 AM

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