+ Reply to Thread
Results 1 to 9 of 9

extract number from cell contain text and count of non empty cell

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    extract number from cell contain text and count of non empty cell

    Hello
    I would like to get from my attahced file how many cell fro column A is contain data
    also extract only Number from text in column A with repeat to column F
    i already make formula for extraction and two for count but its not correct
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: extract number from cell contain text and count of non empty cell

    Enter in cell G2

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Enter in Cell F2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by mehmetcik; 07-02-2017 at 04:42 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: extract number from cell contain text and count of non empty cell

    Enter in G2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    then enter array formula in F2 and copy down

    **Must be entered with Ctrl+Shift+Enter key combination.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 07-02-2017 at 06:16 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: extract number from cell contain text and count of non empty cell

    Dear Mehmetcik ,Dear Alkey
    many thanks for your solution
    but i found that the formula that extract number working good but its repeat the number i need to extract number and look if already list in cell above not repeat it again

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

    Re: extract number from cell contain text and count of non empty cell

    =countif(a2:a89,"?*")
    try this for count
    Samba

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

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

    Re: extract number from cell contain text and count of non empty cell

    F2=IFERROR(INDEX(MID($A$2:$A$89&"- ",SEARCH("-",$A$2)+1,SEARCH(" ",$A$2)-SEARCH("-",$A$2)),MATCH(0,INDEX(COUNTIF($F$1:$F1,MID($A$2:$A$89&"- ",SEARCH("-",$A$2)+1,SEARCH(" ",$A$2)-SEARCH("-",$A$2)))+ISERROR(MID($A$2:$A$89&"- ",SEARCH("-",$A$2)+1,SEARCH(" ",$A$2)-SEARCH("-",$A$2))+0),0),0)),"")
    Try this and copy towards down

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: extract number from cell contain text and count of non empty cell

    Hi mazan2010,

    I think, and I maybe wrong, but the problem here is that no one really understands what "repeat the number" means. What numbers need to be repeated? Where the formula should be placed? Can you demonstrate what the final outcome should be?

    Best regards,

  8. #8
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: extract number from cell contain text and count of non empty cell

    Dear AlKey
    As you can see in my attached file in column F with your formula
    you will find that the number 24 is repeated 2 times
    and 39 is repeated for 7 times
    but whta i need as in column G ( conclusion of number present in Column A )
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: extract number from cell contain text and count of non empty cell

    now i found the error in my file many thanks for all
    and dear AlKey your formula array is working and nflsales for extraction without repeat
    and many thanks for mehmetcik the count formula working good

+ 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. Replies: 10
    Last Post: 09-26-2015, 08:26 PM
  2. Replies: 6
    Last Post: 04-15-2015, 10:25 PM
  3. [SOLVED] Extract number within text in a cell
    By YasserKhalil in forum Excel General
    Replies: 7
    Last Post: 10-29-2014, 02:12 AM
  4. extract number from text and number cell
    By south in forum Excel General
    Replies: 15
    Last Post: 08-23-2014, 03:28 AM
  5. Search for specific data and count number of rows till empty Cell
    By kjanani30 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-04-2013, 06:05 AM
  6. [SOLVED] How to count a cell with a number or letter as 1 or an empty cell as 0
    By garrett.grillo in forum Excel General
    Replies: 4
    Last Post: 03-05-2012, 09:44 AM
  7. extract number and use in formula from text & numbers in cell
    By ivory_kitten in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-14-2006, 12:45 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