+ Reply to Thread
Results 1 to 7 of 7

Insert a name/value based on multiple criteria

  1. #1
    Forum Contributor
    Join Date
    04-29-2017
    Location
    Huntington Beach, California
    MS-Off Ver
    365 business
    Posts
    114

    Insert a name/value based on multiple criteria

    HI Guys,
    I need your help. I need to find and fill in a name/value based on 3 criteria. If Column B region , Column C Day, and Column D - L Hour matches I would like to automatically display the ops specialist name in Ops Specialist Name column A. Attached please find the sample file. I tried to do vlockup but I can't figure it our. Don't know if this is the right thing to do or if there is another formula better working for this.
    Any help is very appreciated.
    Thanks,
    Martin
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-29-2017
    Location
    Huntington Beach, California
    MS-Off Ver
    365 business
    Posts
    114

    Re: Insert a name/value based on multiple criteria

    I found a workaround with a helper column. It works but is's a lot of work to update the Lookup Tap if there is a schedule change. Ideally I would rather read the data from the Schedule Tab if possible. Thanks, Martin
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Insert a name/value based on multiple criteria

    Looking at the file attached to the first post, try pasting the following formula into cell A2 on the 'Ops Specialist Name' sheet then double click to copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Forum Contributor
    Join Date
    04-29-2017
    Location
    Huntington Beach, California
    MS-Off Ver
    365 business
    Posts
    114

    Re: Insert a name/value based on multiple criteria

    HI JeteMC,
    In first place it looked like it works but I found out if I make any chance in the schedule sheet it messes up. For example I delete in schedule C 22- 26 (Monday -Thursday) it should make an error or keep it empty on the OPS Specialist Name sheet but it uses the first available name. Also If I delete just on hour the slot should be empty but it always keeps the name there.
    Thanks,
    Martin
    Last edited by fotodude; 08-23-2017 at 11:42 AM.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Insert a name/value based on multiple criteria

    I believe that the following modification of the formula will correct both the issues addressed in post #4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Please continue to test rigorously and let us know if you have any questions/concerns.

  6. #6
    Forum Contributor
    Join Date
    04-29-2017
    Location
    Huntington Beach, California
    MS-Off Ver
    365 business
    Posts
    114

    Re: Insert a name/value based on multiple criteria

    Hi JeteMC,
    Sorry for the late reply I was out of the country. I just checked the code and it works great. Thank you sooo much for your help.That was exactly what I needed.
    Thanks again,
    Martin

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Insert a name/value based on multiple criteria

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. Macro insert multiple sheet and insert age band based on numbers
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-01-2017, 01:47 PM
  2. Replies: 4
    Last Post: 04-14-2017, 05:14 PM
  3. [SOLVED] Insert Row based on Criteria
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2013, 01:49 PM
  4. [SOLVED] Insert a new row based on certain criteria
    By programct in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2013, 10:09 AM
  5. Replies: 1
    Last Post: 01-30-2013, 12:12 PM
  6. [SOLVED] VB Macro to insert value in cell based on multiple criteria in a row
    By haleakala17 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-23-2012, 10:30 PM
  7. Insert row based on criteria
    By salem in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2006, 03:11 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