+ Reply to Thread
Results 1 to 1 of 1

Need Modifications to UDF Code to handle multiple Inventory on the same Sheet

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    California, USA
    MS-Off Ver
    Excel 2010
    Posts
    29

    Need Modifications to UDF Code to handle multiple Inventory on the same Sheet

    Hi,
    Can someone review the attached Excel Spreadsheet I found here: http://www.excelforum.com/excel-gene...book-cost.html , and in particular, the UDF code contained therein which support the FIFO Cost of Sales calculation in Column H on Sheet1.

    Once reviewed, could you please modify the UDF code to support multiple stocks on one sheet as shown in the Sheet2 sample? Sheet2 uses the same UDF calls , but it does not calculate correctly if there are different stocks (shown in Column C) on the same sheet. Again, Column H shows the use of the UDF calculating the Cost of Sales.

    It appears that the UDF code only supports one (1) stock at a time as shown in Sheet 1. This means that if you have say, 20 stocks, you'll have to have 20 sheets. I'm interested in it supporting multiple stocks on one sheet as shown in Sheet2; but with correct calculations.

    Any help is very much appreciated.

    Thanks.
    Attached Files Attached Files

+ 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. Modifications to code
    By exlecel123 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-26-2013, 06:12 AM
  2. [SOLVED] File won't open in XLSTART after modifications in macro code are made
    By HitTheEXCELerator in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2013, 06:14 AM
  3. [SOLVED] Pivot Table Code Modifications
    By dwhite30518 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 05-14-2012, 10:43 AM
  4. Rename Sheet Tab Code Doesn't Handle Duplicates
    By irose_57 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2011, 01:49 AM
  5. Replies: 1
    Last Post: 06-05-2009, 06:13 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