+ Reply to Thread
Results 1 to 5 of 5

Two Cell Consideration for result

  1. #1
    Registered User
    Join Date
    09-26-2014
    Location
    Holland
    MS-Off Ver
    2010
    Posts
    4

    Thumbs up Two Cell Consideration for result

    Roster Generator.xlsx All right all, I need help here. In this workbook, I have two sheets in works. The first sheet has a drop down for employee name. Once selected it auto populates the employee number based on the information on sheet two. I have sheet 2 data populate from another department's product. Here is where I need help. When an employee is selected from the drop down menu, I also need to select either position A, B, or A/B. When the employee is selected in addition to the other option, I need the employee end date to auto populate from sheet 2's options. Hope this makes sense and appreciate the help in advance. Any questions let me know.

  2. #2
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Two Cell Consideration for result

    So when it says A/B then you want it to return both dates?
    Want to show appreciation for the help you received from a member? Give them reps by clicking the bottom left of their post!

  3. #3
    Registered User
    Join Date
    09-26-2014
    Location
    Holland
    MS-Off Ver
    2010
    Posts
    4

    Re: Two Cell Consideration for result

    Ahh, Yes. sorry forgot to mention that part.

  4. #4
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Two Cell Consideration for result

    This goes in D2...sorry, not very pretty...somebody may have a cleaner formula, but this at least works:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: Fat-fingered a keystroke...formula corrected.
    Last edited by Obsessed; 11-07-2015 at 03:41 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Two Cell Consideration for result

    Another method...
    =IFERROR(INDEX(Sheet2!$A$2:$F$14,MATCH(Sheet1!$A2,Sheet2!$A$2:$A$14,0),MATCH("end "&Sheet1!$C2,Sheet2!$A$1:$F$1,0)),
    TEXT(INDEX(Sheet2!$A$2:$F$14,MATCH(Sheet1!$A2,Sheet2!$A$2:$A$14,0),MATCH("end a",Sheet2!$A$1:$F$1,0)),"mm/dd/yyyy")&" to "&
    TEXT(INDEX(Sheet2!$A$2:$F$14,MATCH(Sheet1!$A2,Sheet2!$A$2:$A$14,0),MATCH("end b",Sheet2!$A$1:$F$1,0)),"mm/dd/yyyy"))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Sum range without taking #N/A into consideration
    By Ramzes in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-21-2015, 08:31 AM
  2. pasting consideration between word & excel
    By vientito in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-01-2014, 10:58 AM
  3. [SOLVED] How to take multiple cells into consideration while calculating sum Or addition.
    By warriorpoet7176 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2014, 02:15 AM
  4. Replies: 0
    Last Post: 12-02-2013, 11:30 AM
  5. [SOLVED] Sum after consideration of date ranges???
    By mandiedwards in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2013, 12:14 PM
  6. ranking with consideration to two different values
    By mpattaui in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2012, 12:18 AM
  7. VBA Coding: Date Consideration
    By dzuy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2006, 06:10 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