+ Reply to Thread
Results 1 to 6 of 6

Extracting Data Based on Values, using <= or >=

  1. #1
    Registered User
    Join Date
    01-30-2013
    Location
    Karachi
    MS-Off Ver
    Excel 2010
    Posts
    19

    Extracting Data Based on Values, using <= or >=

    Hi geeks!

    I need to extract data (records) based on Values in a particular Column. I have attached a sample file for the reference.

    Please help.

    Regards
    Attached Files Attached Files

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

    Re: Extracting Data Based on Values, using <= or >=

    In A20 Cell - Array Formula - Requires CTRL+SHIFT+ENTER


    =IFERROR(INDEX($B$2:$B$16,SMALL(IF($C$2:$C$16<6,ROW($C$2:$C$16)-ROW($C$2)+1),ROWS($1:1))),"")


    In B20 Cell - Array Formula - Requires CTRL+SHIFT+ENTER


    =IFERROR(INDEX($C$2:$C$16,SMALL(IF($C$2:$C$16<6,ROW($C$2:$C$16)-ROW($C$2)+1),ROWS($1:1))),"")


    Apply the above formula's for D20 & E20 by changing the < to >

    Array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.


    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

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

    Re: Extracting Data Based on Values, using <= or >=

    see the attached file
    Attached Files Attached Files
    Samba

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

  4. #4
    Registered User
    Join Date
    01-30-2013
    Location
    Karachi
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Extracting Data Based on Values, using <= or >=

    Thank you very much, Sixthsense, for your attention.
    The prescribed formula is beyond my comprehension, and therefore, I just blindly pasted the formula and pressed Ctrl-Enter.
    But, I am facing an issue - after entering the formula and pressing Ctrl-Enter, the target cell remains blank; whereas; the formula is showing in the bar.
    Any suggestion? Will I need to attend a training course in order to understand such formulas
    Please take me a few steps further.

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

    Re: Extracting Data Based on Values, using <= or >=

    Quote Originally Posted by Raabi View Post
    fter entering the formula and pressing Ctrl-Enter, the target cell remains blank
    CTRL+SHIFT+ENTER
    You missed the SHIFT Key

  6. #6
    Registered User
    Join Date
    01-30-2013
    Location
    Karachi
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Extracting Data Based on Values, using <= or >=

    Oh, thank you so much. It resolved the problem. Have a great time, Sixthsense and nflsales.

    Regards

+ 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**Extracting Unique Values Based On The Value In A Cell
    By rlh06 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-09-2014, 09:43 AM
  2. Extracting additional data based on fluctuating row values
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-04-2014, 06:39 AM
  3. [SOLVED] Extracting data to new worksheet based on two values
    By scokaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2014, 02:41 PM
  4. Extracting rows of data to another worksheet based on a columns values
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-19-2013, 09:54 AM
  5. [SOLVED] Extracting multiple values based on the condition...Pls help (Urgnt)
    By krratheesh80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2012, 10:06 AM

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