+ Reply to Thread
Results 1 to 4 of 4

Extracting and recognize various characters from cells - Inventory issue

  1. #1
    Registered User
    Join Date
    07-04-2014
    Location
    California, USA
    MS-Off Ver
    Windows 7
    Posts
    1

    Extracting and recognize various characters from cells - Inventory issue

    INV.jpg

    i am working on a formula which hopefully will extract data from a cell with mixed characters and be used to create a formula to calculate inventory. The cell with mixed characters has two problems i can't figure out. First, the characters in the column vary in number; that is, some cells have 3 characters and some have 7, etc.- this is making many of the formulas that count characters unusable. The 2nd problem is that i need a formula that recognizes a variety of character strings. For example, some of the cells may have "#10 cs" meaning this item is a case of #10 cans. Other cells may have "10#" meaning there are ten pounds of product in that item. I need excel to recognize the difference. Other cells may have "hgal" for half gallon or "gl" or "gal" for gallon. I need excel to recognize the various mixed characters and give them a value which can then be used to calculate cost of inventory. I am thinking i can resolve this by setting up some sort of look up table which matches the various strings of characters, but i am not sure if that will work nor do i know how to do it.

  2. #2
    Forum Contributor
    Join Date
    05-04-2014
    Location
    New Jersey, United States
    MS-Off Ver
    Excel 2010, 2013
    Posts
    120

    Re: Extracting and recognize various characters from cells - Inventory issue

    Can you provide some specific examples of actual text strings that you're dealing with?

  3. #3
    Registered User
    Join Date
    07-01-2014
    Location
    New Delhi , India
    MS-Off Ver
    2007
    Posts
    51

    Re: Extracting and recognize various characters from cells - Inventory issue

    Please share the worksheet for the desire out put .

  4. #4
    Forum Contributor
    Join Date
    05-04-2014
    Location
    New Jersey, United States
    MS-Off Ver
    Excel 2010, 2013
    Posts
    120

    Re: Extracting and recognize various characters from cells - Inventory issue

    Paste in cell V42 with ctrl+shift+enter then drag down:

    =0+MID(T42,MATCH(TRUE,ISNUMBER(MID(T42,ROW($1:$99),1)*1),),SUM(N(ISNUMBER(MID(T42,ROW($1:$99),1)*1))))

    Assumptions:
    - There is only 1 number in each text string
    - Text strings are no longer than 99 characters in length

+ 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: 2
    Last Post: 08-05-2013, 12:39 AM
  2. How do I move characters within a string? Or how do I recognize them?
    By 111StepsAhead in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2011, 01:30 PM
  3. Inventory Spreadsheet needs recognize certain values and adjust accordingly
    By DKS in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 01-20-2011, 09:00 AM
  4. Extracting Data from Inventory Report
    By insect in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2009, 05:01 PM
  5. Replies: 8
    Last Post: 05-04-2009, 11:39 PM

Tags for this Thread

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