+ Reply to Thread
Results 1 to 4 of 4

Help adding a stock item to a table.

Hybrid View

  1. #1
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,908

    Re: Help adding a stock item to a table.

    This proposed formula solution adds two helper columns which may be moved and/or hidden for aesthetic purposes.
    Helper one extracts the dimension used for placement using:
    Formula: copy to clipboard
    =IF(LEFT(B6,2)="LD",VALUE(MID(SUBSTITUTE(B6,"x","_",2),SEARCH("_",SUBSTITUTE(B6,"x","_",2))+1,LEN(B6)-SEARCH("_",SUBSTITUTE(B6,"x","_",2))-2)),"")

    Helper two ranks the placement values using: =IFERROR(RANK.EQ(J6,J$6:J$12,1),"")
    On sheet 2 the records are placed using:
    Formula: copy to clipboard
    =IFERROR(INDEX(Sheet1!B$6:B$12,MATCH(ROW(1:1),Sheet1!$K$6:$K$12,0)),"")

    The dimensions are listed in column I using:
    Formula: copy to clipboard
    =IF(B3="","",MID(SUBSTITUTE(B3,"-","_",3),SEARCH("_",SUBSTITUTE(B3,"-","_",3))+1,LEN(B3)-SEARCH("_",SUBSTITUTE(B3,"-","_",3))))

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  2. #2
    Forum Contributor
    Join Date
    05-14-2015
    Location
    West Yorkshire
    MS-Off Ver
    10
    Posts
    132

    Smile Re: Help adding a stock item to a table.

    Awesome!!! Thank you for the help.

+ 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. adding new item in dropdown & using existing item as new record
    By lui de sagun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2015, 02:33 AM
  2. Adding/Removing Pivot Table Value Field item with VBA
    By hasanlianar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-05-2014, 06:12 AM
  3. Replies: 12
    Last Post: 03-17-2014, 06:55 PM
  4. [SOLVED] Adding how many of each item is in a table. (Please HELP!)
    By Jasonkurth in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-21-2013, 12:55 AM
  5. Subtracting and adding from a stock sheet according to the item code
    By Dyls in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2013, 11:49 AM
  6. Adding a calculated item to a pivot table - problem encountered
    By Jimmy Newman in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-23-2012, 08:35 AM
  7. Macro to sort out if item out of stock
    By traga2whiskys in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2011, 05:27 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