+ Reply to Thread
Results 1 to 4 of 4

Fill cell from an IF ELSE type scenario

  1. #1
    Registered User
    Join Date
    08-05-2010
    Location
    Kent UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Fill cell from an IF ELSE type scenario

    Hi

    I'm happy using Excel for straightforward number crunching but have never had to look beyond this. I now need to progress a tad further and have been looking at ways to do the following:

    Column A contains a list of names
    Column D has a combo box with a Yes/No option(is the person competent)
    Column E contains a date(if competent date last test otherwise if not competent the cell is empty).

    Column F requires populating with either:

    Not Required -----if the person is not competent
    Date which is 730 days from the last competency test(Column E)

    I looked around at a few sites and cobbled toger this:

    =IF(E5="","Due Now",IF(D5="No","Not Required",(E5+730) ))


    which I thought worked but doesn't quite. If a date is entered in Column E it will display correctly if selecting "Yes" or "No" in Column D but if I remove the date the Column E cell is defaulting to "Due Now" which would be incorrect as a person without a competency will have no date and the entry for the cell should be "Not Required".

    Can someone put me out of my misery !

    Thanks
    MizztaH

  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: Fill cell from an IF ELSE type scenario

    Hi

    So what is the condition that should generate a "Due Now" result?
    At the moment your formula is working correctly. i.e. if you have nothing in column E it correctly returns "Due Now" from the first IF test.

    Rgds
    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
    Registered User
    Join Date
    08-05-2010
    Location
    Kent UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Fill cell from an IF ELSE type scenario

    Thanks for the swift response.

    If colum D has a value of "Yes" and Column E is blank(no competency test date) then column F should display a "Due Now".
    I thought it worked but if Column D has a value of "No" I should get a "Not Required" but instead I'm getting "Due Now".

    Thanks
    MizztaH

  4. #4
    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: Fill cell from an IF ELSE type scenario

    Hi

    In that case try:

    Please Login or Register  to view this content.
    HTH

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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