+ Reply to Thread
Results 1 to 4 of 4

Which Logical Function?

  1. #1
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Cool Which Logical Function?

    Hi all,

    Can you please help me on the following:

    I have a range data of B1:F100 and would like to do this:

    IF C1=En (on the raw n), and IF D1=Fn then Bn

    (formula is on the cell A1)

    Is that possible? Please help!

    Thanks
    Ralem
    Last edited by Ralem; 04-15-2010 at 04:04 PM.

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

    Re: Which Logical Function?

    If there's only one instance then perhaps:

    A1: =LOOKUP(2,1/(($C1=$E$1:$E$100)*($D1=$F$1:$F$100)),$B$1:$B$100)

    IS that what you mean ?

    Better to post a sample file I suspect... what are the values in B - numbers ?

    Do you have duplicate matches and if so what do you want to do with the duplicates ?

  3. #3
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Re: Which Logical Function?

    That's fantastic DonkeyOte, it works when values in B are numbers... what if they are texts?

    there is no any duplicates by the way...


    Many Thanks
    Ralem

  4. #4
    Registered User
    Join Date
    04-10-2010
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Excel 2003, 2007 and 2010
    Posts
    148

    Re: Which Logical Function?

    Same works for the text,

    Thanks a lot DonkeyOte!
    Ralem
    Last edited by Ralem; 04-15-2010 at 04:01 PM.

+ 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