+ Reply to Thread
Results 1 to 11 of 11

Find and many conditions

Hybrid View

  1. #1
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Find and many conditions

    I own table with data and I want to return the column "C" values
    Used the existing formula in column "D" but the result is not required
    Correct and the result found in the column "I"
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Find and many conditions

    Actually what is your requirement
    tell me briefly
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Find and many conditions

    Conditions exist in the "formula" in the column "d"
    But this formula do not come correct values found in the column "G"

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,939

    Re: Find and many conditions

    What is your requirement, what are the conditions the formula looking for?

  5. #5
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Find and many conditions

    I want to return the Symbol in the range "G2: G58"
    If the conditions existing in the formula achieved

  6. #6
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Find and many conditions

    formula Looking for In the column "G" if the date in column "A" exists between the two dates in columns "E", "F"
    & If the column "B" equals "Buy", and the column "C" equals "A"

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Find and many conditions

    I am not really sure what you want, or how you arrive at the "correct result".

    Can you walk me though what you are trying to do (and remember, we have no clue what you are working with, or what you want).

    As an alternative, I used this ARRAY formula, copied down...
    =INDEX(الرمز,MATCH(E2&F2&B2&C2,$E$2:$E$58&$F$2:$F$58&$B$2:$B$58&$C$2:$C$58,0))
    This obviously pulls in all matches, and can be converted to a regular formula using a helper...
    =E2&F2&B2&C2
    and then change that to this regular formula...
    =INDEX(الرمز,MATCH(E2&F2&B2&C2,$Q$2:$Q$58,0))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Find and many conditions

    Thank you very much, Mr. "FDibbins"
    To help, but unfortunately did not work with me, but not required
    But this formula has made I want and I want the best formula to check I want
    = INDEX ($ G $ 2: $ G $ 58, MATCH (1, IF (A2> = $ E $ 2: $ E $ 58, IF (A2 <= $ F $ 2: $ F $ 58, IF (C2 = "A", IF (B2 = "Buy", 1)))), 0))

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Find and many conditions

    That formula you suggest...
    =INDEX($G$2:$G$58,MATCH(1,IF(A2>=$E$2:$E$58,IF(A2<=$ F$2:$F$58,IF(C2="A",IF(B2="Buy",1)))),0))
    is an ARRAY formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

  10. #10
    Registered User
    Join Date
    08-29-2014
    Location
    Abu Dhabi
    MS-Off Ver
    2003
    Posts
    303

    Re: Find and many conditions

    Thank you very much, Mr. "FDibbins"
    God bless you

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Find and many conditions

    happy to help and thanks for the feedback

+ 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] Find Duplicates with 2 conditions
    By Narasimharao Nandula in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-26-2014, 06:16 AM
  2. How to find last value with specific conditions
    By grlinks in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-29-2013, 03:43 AM
  3. Find a value using multiple conditions
    By tony7659 in forum Excel General
    Replies: 4
    Last Post: 09-01-2011, 03:19 PM
  4. Find Top 10 or 5 from a list (with conditions)
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-23-2008, 11:38 AM
  5. How to find a value from a table after validating two conditions
    By acsishere in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-16-2008, 12:45 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