+ Reply to Thread
Results 1 to 5 of 5

Help with formula - if/and?

  1. #1
    Registered User
    Join Date
    10-07-2020
    Location
    Nottm, England
    MS-Off Ver
    365
    Posts
    33

    Help with formula - if/and?

    Hi all,

    I'm wondering if anybody could help me with the attached workbook, I have highlighted the column I need help with in green. I have tried using the IF & AND functions but unfortunately no luck.

    Essentially I want to autofill column C with the following conditions:
    - If column A says 'Permanent' and column B is empty, Column C returns 'Correct Permanent Contract'
    - If column A says 'Permanent' and column B has an entry, Column C returns 'Permanent Contract Error'
    - If column A says 'Fixed Term' and column B is empty, Column C returns 'Contract End Date Incomplete'
    - If column A says 'Fixed Term' and column B has an entry, Column C returns 'Contract End Date Complete'

    Any help would be greatly appreciated if it can be done.

    Thanks!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help with formula - if/and?

    Most straightforward way:

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


    Note that it is assumed that if column A is not "Permanent", then it must be "Fixed Term". Please advise if this is not the case.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Help with formula - if/and?

    Clean all expected results.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-07-2020
    Location
    Nottm, England
    MS-Off Ver
    365
    Posts
    33

    Re: Help with formula - if/and?

    Brilliant. Thanks a lot!!

  5. #5
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    1,980

    Re: Help with formula - if/and?

    One for luck

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

+ 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. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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