+ Reply to Thread
Results 1 to 6 of 6

how to return a value based on other cell criteria

  1. #1
    Forum Contributor
    Join Date
    02-16-2016
    Location
    england
    MS-Off Ver
    11
    Posts
    115

    how to return a value based on other cell criteria

    Hi,

    I am trying to auto fill col D with the results based in col's a,b,c.

    I have tried a vlookup table but is there seems to be issues, is there a better way?

    Thanks
    Attached Files Attached Files
    Last edited by deanblew; 08-11-2017 at 03:53 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: how to return a value based on other cell criteria

    So, talk us through the sample given:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    1
    Risk
    IFS CR
    CTP
    Doc's Ready
    2
    Completed
    123856
    Completed
    3
    Med
    138536
    No
    4
    Completed
    138536
    CTP/123
    Completed
    5
    High
    CTP/126
    No
    6
    Low
    138539
    CTP/127
    Yes
    7
    Med
    TBC
    No
    8
    Med
    138544
    No
    9
    High
    No
    10
    Completed
    138500
    CTP/129
    Completed
    Sheet: Sheet1
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-16-2016
    Location
    england
    MS-Off Ver
    11
    Posts
    115

    Re: how to return a value based on other cell criteria

    if col A has "completed" col D will always be "completed"

    if ther is a value in b and c then Yes with exception to TBC

    if b and c are blank "No"

    if a = completed b and c have values then completed

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: how to return a value based on other cell criteria

    In D2 copied down:

    =IF(A2="Completed",A2,IF(B2="TBC","No",IF(AND(B2<>"",C2<>""),"Yes","No")))

  5. #5
    Forum Contributor
    Join Date
    02-16-2016
    Location
    england
    MS-Off Ver
    11
    Posts
    115

    Re: how to return a value based on other cell criteria

    Thanks works

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,903

    Re: how to return a value based on other cell criteria

    You're welcome!

+ 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. Auto fill / flash fill not working with formulas?
    By mhorga in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-18-2016, 12:54 PM
  2. Replies: 6
    Last Post: 05-01-2014, 06:04 PM
  3. Auto fill decimal sequence using custom fill or formula
    By 8cats in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-22-2013, 08:53 AM
  4. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  5. Auto Fill Text & Fill Color
    By emiles1987 in forum Excel General
    Replies: 0
    Last Post: 08-11-2010, 02:24 PM
  6. Replies: 1
    Last Post: 07-13-2007, 10:59 AM
  7. using auto fill edit or fill handel
    By fill handle or auto fill in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-10-2006, 03:10 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