+ Reply to Thread
Results 1 to 6 of 6

Question on conditional formula

  1. #1
    Registered User
    Join Date
    08-14-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    63

    Question on conditional formula

    Hello all!

    I have the following case: (please see the attached file)

    As you can see, I have 3 different cases for the:
    Yes: row 3, column C, D, E
    No: row 3, column D, G
    Maybe: row 3, column E

    I would like to create a formula in column, which pinpoint the “yes” condition
    As you can see, in row3 and column I, I have manually written Loc A, Loc D, Loc E.
    Is there any way to automate such task?
    The only thing that I can think about is the usage of IF function however, the sheer number of combination will be insurmountable in checking each cell and each combination. For example:
    Checking 1 combination: 1 if
    Checking with 2 combinations equal to 10 if-function and so on.
    Attached Images Attached Images

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Question on conditional formula

    If you have only a handful of columns to process then you can use a formula to do this:

    Please Login or Register  to view this content.
    For more columns it would be wise to use a User Defined Function to build the string.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Question on conditional formula

    are there really meant to be two columns for loc d?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    08-14-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Question on conditional formula

    DonkeyOte,
    Actually there 10 columns.
    User defined function as in macro? If yes, it might be a bit difficult since I am not familiar with macro.

    Martin,
    Thanks for the correction. It is suppose to be only one column for loc D

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Question on conditional formula

    id just do a helper sheet to find and join them
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-14-2011
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Question on conditional formula

    Quote Originally Posted by martindwilson View Post
    id just do a helper sheet to find and join them
    Sorry for the late reply!
    It works like a charm!

    Thanks again!

+ 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