+ Reply to Thread
Results 1 to 5 of 5

According to the given 2 conditions value to be selected

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    According to the given 2 conditions value to be selected

    Dear Friends

    Herewith i attached an simple excel file.

    I can change the values in D11 cell AAA or BBB, Also I can change the values in D12 cell Yes or No.

    According for the given 2 conditions value to be selected in the cell D15 from the table C7:E9.

    thanks in advance

    thilag
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: According to the given 2 conditions value to be selected

    Please try this function

    =IF(OR(D12="",D11=""),"",INDEX(D8:E9,IF(D12="Yes",2,1),MATCH(D11,D7:E7,0)))
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,767

    Re: According to the given 2 conditions value to be selected

    In D15 Cell

    =IFERROR(INDEX($D$8:$E$9,IF($D$12="Yes",2,1),MATCH($D$11,$D$7:$E$7,0)),"")

    Edit: Oops little bit late in typing since ramananhrm also given the same type of solution
    Last edited by :) Sixthsense :); 11-11-2013 at 05:47 AM.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: According to the given 2 conditions value to be selected

    Hello Mr. Ramanan

    It is working fine.

    thanks

    thilag

  5. #5
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: According to the given 2 conditions value to be selected

    =INDEX($D$8:$E$9,MATCH(D12,{"no","yes"},0),MATCH(D11,$D$7:$E$7,0))

+ 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] help with VBA codes to extract selected data from worksheet on specific conditions
    By HarryC in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-10-2013, 06:29 AM
  2. [SOLVED] How do I copy and past selected rows to a new sheet when multiple conditions are met?
    By Terri H in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2013, 09:36 AM
  3. Automatically determine If statement from multiple conditions selected?
    By Marco123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-28-2011, 08:43 PM
  4. Replies: 2
    Last Post: 08-28-2011, 02:39 AM
  5. populate list based on two selected conditions
    By simpo067 in forum Excel General
    Replies: 7
    Last Post: 04-06-2009, 05:01 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