+ Reply to Thread
Results 1 to 5 of 5

If/And Complications

  1. #1
    Registered User
    Join Date
    03-27-2020
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    2

    If/And Complications

    Hi, new here, but I see that this is a great place to get help with Excel 2016.

    I'm trying to get column D to report Telework, Site, Regular leave, Special leave or Mixed based on what is entered in columns G:J.

    I've tried using If/AND but it gets complicated very quickly.

    Here are the results I'm looking for:



    Telework should show up in D if hours were only input to the E Hours Teleworked column

    Site or Field should show up in D if hours were input only to the Hours work On Site or in Field

    Regular Leave should show up in D if hours were input only to the Regular Leave column

    Special Leave should show up in D if hours were input only to the Special Leave column

    Mixed should show up in D if there is any combination of hours input across more than one column
    Thanks so much for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: If/And Complications

    Perhaps this will work?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: If/And Complications

    Hi & welcome to the board.
    How about
    =IF(COUNTIF(G2:J2,">0")>1,"Mixed",IF(G2>0,"Telework",IF(H2>0,"Site or Field",IF(I2>0,"Regular leave",IF(J2>0,"Special leave","")))))

  4. #4
    Registered User
    Join Date
    03-27-2020
    Location
    Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: If/And Complications

    Thanks for both those answers. They do just want I needed.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: If/And Complications

    You're welcome & thanks for the feedback

+ 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] SUMIF with complications!
    By callummcgrath in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2017, 04:22 AM
  2. sumif() complications
    By sateesh konduru in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 08:28 AM
  3. [SOLVED] Hyperlinking to Hidden Worksheets (with some complications)
    By mcpoogle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-17-2013, 08:38 AM
  4. [SOLVED] IF with complications...
    By denvdm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2012, 07:41 AM
  5. IF AND OR Complications...
    By mv835 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-09-2008, 07:23 AM
  6. rostering complications
    By jaxbak in forum Excel General
    Replies: 4
    Last Post: 03-10-2007, 06:28 PM
  7. [SOLVED] Complications Entering numbers in a cell
    By Ms Xtine in forum Excel General
    Replies: 2
    Last Post: 08-16-2006, 05: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