+ Reply to Thread
Results 1 to 13 of 13

Find a specific account's value from a range of text strings.

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Find a specific account's value from a range of text strings.

    Need formula to find a specific account no. from a range of text and return that account's value as a usable numeric.

    Account number:012345678 XZ
    Account value as of 12/31/2013:$12,345,56

    Account number:987654321
    Account value as of 12/31/2013:$876,543.21

    Thanks in advance for a response.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Find a specific account's value from a range of text strings.

    You mean like this??

    Please Login or Register  to view this content.

    assuming your data are in A1

  3. #3
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    Hi Glenn,
    I will try to be more clear on what I am trying to do.
    I have a range of text strings that contain account numbers and account values:

    A
    1 Account number:012345678 XZ
    2 Account value as of 12/31/2013:$12,345,56
    3
    4 Account number:987654321
    5 Account value as of 12/31/2013:$876,543.21
    6
    .
    .
    n

    Find acct. "012345678 XZ" from range A1:A255 and display its value (12,345.56).
    Insert an acct. no. into a generic formula to display the value in that acct. in a table.
    The data for each account may be 3 to 6 rows each and there maybe 5 to 10 blank rows between each account.
    Also there may be a CHAR 160 after the account number or the value figure that has to be stripped, (see row 4).
    Thanks for working on this.

  4. #4
    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: Find a specific account's value from a range of text strings.

    Hi and welcome to the forum.

    I suggest that you upload a sample spreadsheet with about 10-15 rows of data so we could figure our a solution for you.
    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

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Find a specific account's value from a range of text strings.

    Yes, as AlKey said, please upload a sample sheet...

  6. #6
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    Hello Al
    I haven't been able to find out how to upload a spreadsheet. Looking for your help.
    Thanks.

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Find a specific account's value from a range of text strings.

    Welcome to the forum.

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  8. #8
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    Here is a sample spreadsheet ... I hope.
    Upload a Spreadsheet to ExcelForum 010614.xlsx
    Sorry, I made too many mistakes in the upload process. Im going to have to work on the upload process before I can continue with this thread.
    Last edited by frankexcel; 01-06-2014 at 11:50 PM.

  9. #9
    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: Find a specific account's value from a range of text strings.

    Can't say that I completely understand what you trying to accomplish but here it is.
    Please see attached file.

  10. #10
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    The Spreadsheet did not copy much at all. I had a column of data of about 50 rows interspersed with blank rows, formulas in 2 other columns, and then a table
    with a 3rd set of formulas. I will have to learn the proper upload labyrinth.
    I will try to send again. Thanks for your patience.

  11. #11
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    Upload a Spreadsheet to ExcelForum 010614.xlsxHere's another try at uploading the speadsheet.

  12. #12
    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: Find a specific account's value from a range of text strings.

    Quote Originally Posted by frankexcel View Post
    Attachment 288569Here's another try at uploading the speadsheet.
    This is exactly the same file that you uploaded in your post #8.

  13. #13
    Registered User
    Join Date
    10-01-2013
    Location
    Florence, ky
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Find a specific account's value from a range of text strings.

    [Solved]:
    The basic formula and syntax I needed to start a solution I found at http://www.excelbanter.com/showthread.php?t=123146, written by vezerid.
    Where he wrote to a query that I recognized as fitting my own situation:
    "If column B contains the value you want to retrieve and A contains the store codes, how about" :
    =INDEX(B1:B100,MATCH(code,A1:A100,0)+1) Simple enough!
    I probably missed or didn't recognize it a number of times when I searched the internet, that this basic formula would do what I wanted with the proper modifications. As I needed to extract numeric values from mixed values in variable strings of text, I pieced together this formula:

    Final formula: '=VALUE(MID(INDEX($B$20:$B$150,MATCH("*"&N16&"*",$B$20:$B$150,0)+5),
    SEARCH("$",INDEX($B$20:$B$150,MATCH("*"&N16&"*",$B$20:$B$150,0)+5))+1,12))
    I don't know how efficient it is, but works great in my situation.
    Many thanks to all responders.

+ 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] Formula to find a specific text within a range and return the value in the next cell
    By 00pumpkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2013, 02:11 PM
  2. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  3. Find Unique Text Strings in Range
    By AlvaroSiza in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2011, 10:08 AM
  4. VBA Code to find and apply formatting to specific text strings
    By chozen86 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2008, 01:20 AM
  5. Identifying specific text strings in a range
    By steekvey in forum Excel General
    Replies: 2
    Last Post: 05-01-2008, 08:00 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