+ Reply to Thread
Results 1 to 13 of 13

Nesting IF functions???

  1. #1
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Nesting IF functions???

    I am working on a Separation of Duties Form and I need a way to highlight or strike through a name if it is showing in multiple columns (Duty 1, Duty 2, Duty 3). The Form has 3 columns. The goal is if a name (Karen) is assigned in all three columns then we would like either a strike through her name in the column that creates conflict or a highlight in red indicating that the Duties assigned conflict. However, As an example, Duty 1 and Duty 3 can be assigned to the same person, but the person cannot do all three duties (which is what Karen is doing).

    I am unsure how to do this function. I feel it is a IF/THEN, but I don't know how to write the formula. HELP!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Nesting IF functions???

    So if Duty1 and Duty3 are permitted does that mean the request can be restated as find whether the same name appears in both Duty1 and Duty2?

    An example workbook with manually added resulst woud be useful.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    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,933

    Re: Nesting IF functions???

    Perhaps try a countif() in a Conditional Formatting rule?
    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

  4. #4
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Re: Nesting IF functions???

    Here is the spreadsheet I am working on which shows the Duties and the Individuals Assigned. Notice how Karen is signed up for all three Duties. I need Duty 2 to either strike-through her name or highlight it in red to show that she cannot do all three duties. Notice how City is assigned Duty 1 and Duty 3 I need to highlight in green that this is ok. I am unsure of the formula to do this IF/THEN format. I honestly don't know where to begin, I just know it can be done. HELP!
    Attached Images Attached Images
    Last edited by IIA; 01-23-2019 at 10:40 AM.

  5. #5
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Re: Nesting IF functions???

    Yes. I just attached the example of what I am working with.

  6. #6
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Re: Nesting IF functions???

    This is where I am at.
    Attached Images Attached Images

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Nesting IF functions???

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context. Pictures are rarely much use since they don't allow us to test a solution without recreating your workbook which nobody is keen to do.

  8. #8
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Re: Nesting IF functions???

    Ok here is a workbook.
    Attached Files Attached Files

  9. #9
    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,933

    Re: Nesting IF functions???

    Seems I have to post this in 2 posts...
    1. highlight the range you want to apply the conditional formatting to
    2. on the home tab, styles, select CF
    3. select new rule, select use formula

  10. #10
    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,933

    Re: Nesting IF functions???

    4. enter =COUNTIF($A7:$S7,"Karen") > 2 format fill as needed.

    You will probably need a new rule for each name

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Nesting IF functions???

    What is the answer to the Q I asked in #2?

  12. #12
    Registered User
    Join Date
    01-22-2019
    Location
    Utah
    MS-Off Ver
    2013 Excel
    Posts
    6

    Re: Nesting IF functions???

    Is anyone aware of a person or company that for a fee, can help me with creating a worksheet in Excel that contains conditional formatting with several different if/and, if/or interacting formulas? I have about a week to get this project done and am unsure where to begin.

  13. #13
    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,933

    Re: Nesting IF functions???

    I am fairly certain this forum can answer your questions.

    However, we need you to help us, help you.

    Richard asked a question, and I have suggested a formula - can you provide some feedback on those please?

+ 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. Nesting Vlookup Functions with IF Functions and possibly more
    By Anitarizzo in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-27-2014, 12:50 AM
  2. Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  3. Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  4. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Nesting functions in the functions dialog box
    By cs170a in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-10-2005, 06:05 PM

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