+ Reply to Thread
Results 1 to 1 of 1

Formula to pull in an adjacent cell if one cell matches another?

  1. #1
    Registered User
    Join Date
    01-11-2023
    Location
    NC, USA
    MS-Off Ver
    Office 365
    Posts
    1

    Formula to pull in an adjacent cell if one cell matches another?

    I am trying to make a schedule template that can be updated from year to year. The first sheet has monthly assignments. The second sheet has weekly assignments. Based on a persons assignment for the month determines when they have a shift during the week. So far I have most of it worked out pretty well.

    The issue: several times throughout the year people will be on an elective assignment. When this happens the elective in the yearly calendar will get changed to "E -" with the specific elective listed after the -. Right now I am using an =IF function with an =OR function embeded that looks for the persons assignment in the list at the top of sheet two. If the assignment is not listed it leaves it blank. What I want the formula to do is to recognize "E -" and consider the IF function as true and pull in the persons name. I hope this is making sense.

    Specific example: Sheet 1 (blank year) cell C30 has "E - cardio". What I want is in sheet 2 (clinic schedule) cell G 33 I want the formula that is there to recognize "E -" and load the name (3E) into the cell.

    I tried to figure out how to use wild cards within formulas but it is beyond my skills/understandings. Can you offer some advice?
    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. Replies: 1
    Last Post: 04-28-2020, 09:32 PM
  2. Replies: 1
    Last Post: 01-30-2020, 05:42 PM
  3. VBA to return all matches in adjacent cell
    By sriley5 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-06-2018, 06:22 PM
  4. Check if a cell matches string and take value from the adjacent cell
    By iyoossaev in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2016, 07:52 AM
  5. Replies: 3
    Last Post: 06-29-2015, 03:03 PM
  6. Replies: 6
    Last Post: 04-12-2013, 05:50 AM
  7. If one cell matches another display a value in adjacent cell
    By Garfield779 in forum Excel General
    Replies: 1
    Last Post: 07-07-2011, 11:49 AM

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