+ Reply to Thread
Results 1 to 8 of 8

extract the text based on the => number range

  1. #1
    Registered User
    Join Date
    05-02-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    4

    extract the text based on the => number range

    Hi Guys,


    I am looking the formula which pick the text on if those text have value 2000 or more than that.

    i am using the formula as shown below, but if any text in between have less than 2000 its showing blank. which i am not looking. PLease help me.

    =IF('Summed Turnover-ALL'!I7>=2000,'Summed Turnover-ALL'!C7,"")

    Data as shown below

    Please Login or Register  to view this content.
    Last edited by JBeaucaire; 05-03-2014 at 04:08 AM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: extract the text based on the => number range

    Using your example...what do you want the formula results to be?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: extract the text based on the => number range

    Try this...

    Data Range
    A
    B
    C
    D
    1
    Text
    amount
    ------
    Text
    2
    Pranesh
    2,370,657.87
    Pranesh
    3
    anup
    2,000.00
    anup
    4
    pradeep
    254,154.65
    pradeep
    5
    Shree
    18,030.98
    Shree
    6
    london
    16,848.22
    london
    7
    america
    12,460.60
    america
    8
    brazil
    219.95
    9
    India
    758.84


    This array formula** entered in D2:

    =IFERROR(INDEX(A:A,SMALL(IF(B$2:B$9>=2000,ROW(B$2:B$9)),ROWS(D$2:D2))),"")

    ** 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.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-02-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: extract the text based on the => number range

    Quote Originally Posted by Ron Coderre View Post
    Using your example...what do you want the formula results to be?
    Hi Ron,

    i am just looking which ever text have more than or equal to 2000 EUR, those text should picked up in another tab.

    for example: if Pranesh amount is less than 2000 then it should not consider. same way is Anup have equal to 2000 or morethan that, it should be picked.

    Please find the file which i have attached.

    Let me know if you have any question.

    Thanks,
    Pranesh
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-02-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: extract the text based on the => number range

    HI Tony,

    Thanks for your reply.I have tried your below formula and its not worked as my requirement. i am getting blank in all the rows.

    =IFERROR(INDEX(A:A,SMALL(IF(B$2:B$9>=2000,ROW(B$2:B$9)),ROWS(D$2:D2))),"")

    But sorry i didn't get you on the below:

    ** 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.

    Copy down until you get blanks.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: extract the text based on the => number range

    The formula needs to be entered as an array formula.

    Array formulas are entered differently than a regular formula.
    After you type in a regular formula you hit the ENTER key.
    With an array formula you *must* use a combination of keys.
    Those keys are the CTRL key, the SHIFT key and the ENTER key.
    That is, hold down both the CTRL key and the SHIFT key then
    hit the ENTER key.

    When done properly Excel will enclose the formula in squiggly
    brackets { }. You can't just type these brackets in, you
    *must* use the key combo to produce them. Also, anytime
    you edit an array formula it *must* be re-entered as an
    array using the key combo.

  7. #7
    Registered User
    Join Date
    05-02-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: extract the text based on the => number range

    Tony,

    Thank you so much for the formula and its working perfectly:-)

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: extract the text based on the => number range

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

+ 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. extract number from text and number cell
    By south in forum Excel General
    Replies: 15
    Last Post: 08-23-2014, 03:28 AM
  2. Conditional Formatting, Excel 2010, based on number of a certain text value in a range
    By trueimperfection in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2014, 06:55 AM
  3. Replies: 9
    Last Post: 03-06-2014, 04:48 PM
  4. extract number with dot from text
    By neodjandre in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2008, 03:36 AM
  5. [SOLVED] Extract number from text/number string..
    By nastech in forum Excel General
    Replies: 5
    Last Post: 07-05-2006, 06:25 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