+ Reply to Thread
Results 1 to 4 of 4

Formula With Many Conditions

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Wichita, KS
    MS-Off Ver
    Excel 2007
    Posts
    5

    Exclamation Formula With Many Conditions

    I am working on a spreadsheet for work and am needing help. Continuity Spreadsheet.xlsx In this spreadsheet, I am trying to get it set up where A11 automatically fills in when I put the provider in G8 based on their position and team.

    Here is what I am trying to auto populate:

    "Same Resident" if G8=A1
    "Resident Same Team" if G8<>A1,G9=Resident,G10=D1
    "Faculty Same Team" if G8<>A1,G9=Faculty,G10=D1
    "APRN" if G9=APRN
    "Resident Different Team if G8<>A1,G9=Resident,G10<>D1
    Faculty Different Team if G8<>A1,G9=Faculty,G10<>D1


    Is this too me conditions or is there a way of doing this? Thank you.

    *<> means not equal to

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula With Many Conditions

    Use VLookup (in a table) to solve your problem.

    I made a begin to show you the syntax of the formula (in the attached file).

    See the yellow cell for the result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,685

    Re: Formula With Many Conditions

    Try this:

    =IF(G8=A1,"Same Resident",IF(G9="APRN","APRN",IF(G9="Resident",IF(G10=D1,"Resident Same Team","Resident Different Team"),IF(G9="Faculty",IF(G10=D1,"Faculty Same Team","Faculty Different Team"),""))))

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    12-13-2012
    Location
    Wichita, KS
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Formula With Many Conditions

    Worked great. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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