+ Reply to Thread
Results 1 to 7 of 7

Working on Specfic Text in a cell and compute with a lookuptable and provide result

  1. #1
    Registered User
    Join Date
    03-27-2017
    Location
    Madurai
    MS-Off Ver
    2013
    Posts
    4

    Working on Specfic Text in a cell and compute with a lookuptable and provide result

    Hi Friends,

    Good Day!. I am very glad to see this website.

    I am a MBA Student. I am doing my project in Inventory Management. In My Excel Sheet I have to segregate the items. Let me Explain.

    Item Description Holds Item Number, Item size Variant 1 and Variant 2. Based on item No VAriant1 & Variant 2 l Above i Have to assign a value.

    FYI: Item no is unique and all others are different.

    Please help me out. Thanks in Advance.

    Encl: Practice.xlsx

    Regards,
    Prasad
    Attached Files Attached Files
    Last edited by 6StringJazzer; 03-27-2017 at 12:32 PM. Reason: Moderator removed duplicated text --6StringJazzer

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,869

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result

    First, we do not do your homework for you. If you have made progress and have a specific question about an Excel feature that is giving you trouble, we are happy to help. But please do not post your assignment and ask us to complete it for you. That is what you are supposed to be learning in your class.

    We can help give you some guidance, but I don't understand what you want your result to look like. Where do the numbers come from in the Unit column? Do you have to consider Quantity in any way? The items in rows 10-13 have no "item number" in their codes. What do you want to do with those?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result

    I concur with the above. Based on what I am seeing I make several recommendations.

    First of all you have Excel 2013. This means you have Excel Tables. You don't need Excel Tables to solve this issue, but they do make using Excel a lot easier. In many cases you have to "guess" how much data you have and then write your formulas to match exactly that many rows. If the amount of data changes, then you have to rewrite the formulas. Excel tables know how big they are. Also Excel tables do things like copy down formulas automatically, and you can refer to them by Column Heading such as Table_Data[Item Description] instead of 'Sheet Name'!$A2:$A13. Here is some information to get you started on tables. http://www.utteraccess.com/wiki/Tables_in_Excel - I suggest that when you have time, you study it. Tables will come in very handy later on.

    As for this particular problem you are going to have to separate out parts between the dashes. Two formulas that will come in handy are FIND() and IFERROR(). Read up on them. Once you figure out these formulas, then you can put them in "helper" columns and apply a pivot table to the result.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result


  5. #5
    Registered User
    Join Date
    03-27-2017
    Location
    Madurai
    MS-Off Ver
    2013
    Posts
    4

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result

    Thank you DFLAK,

    First upon I have to thank you very much for your support. But this makes the task more tedious. More over, for large number of inventory it may lead to error. I have tried lookup tables after its split. It computes for a small inventory not for a big.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,926

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result

    You should not need lookup tables.

    Make several helper columns and copy the formulas down in each.

    Helper column 1: Use the link in my second post to determine how many dashes there are in the string. Use and if statement to determine if you are dealing with a short string (3 dashes) or a long string (4 dashes).

    Helper columns 2-5: Use the find command to determine the positions of the 2nd, 3rd and 4th dashes. Note that for short strings, the position of the 4th dash does not exist so it will be an error so use IFERROR.

    Helper column 6-8: use an if statement against helper column 1 to determine what part of the string is Var1, what part is Var2, etc.

    Apply a pivot table to the whole thing.

    Or you can try something entirely different.

    Insert 4 columns between Column A and Column B. Apply text-to-columns to column A. this will give you 4 or 5 columns of data. You can count up the number of columns that have data (COUNTA) to determine if you are dealing with a long string or a short string. Use an if statement to determine which columns are Var1, Var2, etc.

    Put header titles over each column of data. Apply a pivot table.

    That's about as explicit as I can get without actually doing the problem for you.

  7. #7
    Registered User
    Join Date
    03-27-2017
    Location
    Madurai
    MS-Off Ver
    2013
    Posts
    4

    Re: Working on Specfic Text in a cell and compute with a lookuptable and provide result

    Thank you DFLAK,

    I would like to thank you for giving your wonderful support. This makes me to proceed with next step. Let me check with your suggestions.

+ 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. I need to find a specfic text in a range of cells and return specfic text
    By ramjdmcmm in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-15-2016, 04:28 PM
  2. [SOLVED] Compare two adjacent text cells and then provide a status in a 3rd cell
    By Avalonexile in forum Excel General
    Replies: 2
    Last Post: 02-06-2015, 08:45 AM
  3. put a cell value into a cell when the range of cell contain a specfic text
    By diegomagnum in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2014, 10:28 PM
  4. put a cell value into a cell when the range of cell contain a specfic text
    By diegomagnum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2014, 04:09 AM
  5. Max - IF - Array to provide a blank result instead of 1/0/1900
    By srsev in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-09-2013, 04:19 PM
  6. Formula that will provide a text result from 3 different formulas
    By theEdge01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2013, 10:59 AM
  7. compare totals and provide a result
    By Christopherdj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2012, 08:17 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