+ Reply to Thread
Results 1 to 10 of 10

Retail Stock Check

  1. #1
    Registered User
    Join Date
    09-13-2016
    Location
    Slovenia
    MS-Off Ver
    2016 for Mac
    Posts
    4

    Retail Stock Check

    So in a store where I work, we don't have that many products about 1700 and we were doing stock check last week, and I devised a much easier method for it.

    I exported stock data from our pos software to excel and was left with id. An id of the product, name and how much we should have. So I just added a countif function and we started scanning the products barcodes for ids. The id were just being listed in a seperate sheet while the stock counted itself.
    Works like a charm. The only problem was - what if the computer cays we dont have something thus not listing it and we scann it. So that was easy to find - that number would only repeat 1 time in the whole sheet so with count if and if functions it now says error besides the scanned id.

    Now i was wondering if there is an easy way to collecting all the errored id's in a seperate sheet. I tried using lookup and vlookup but its not working.

    Any tips and ideas appreciated.

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Retail Stock Check

    Hello welcome to the forum.

    If your database is a normal layout of record rows and field columns then you could easily create a Pivot Table on another sheet to filter the 'Errored' records. It could also be done with formulas or VBA, although I'm not sure what capabilities the Mac version of Excel has regarding that.

    Perhaps if you could upload a desensitised sample of your data, for the forum members to look at it would help.

    DBY

  3. #3
    Registered User
    Join Date
    09-13-2016
    Location
    Slovenia
    MS-Off Ver
    2016 for Mac
    Posts
    4

    Re: Retail Stock Check

    So yeah here is a screenshot of the file im working on.

    A - the id nuber of a certain item

    B- Name or title of the item

    C - number of awalible items imported from the computer

    D- Number of things in store ( counted from the scanned id's in column H)

    E - If the numbers match it says ok otherwise !!!

    H - scanned items

    Ignore the K

    Screen Shot 2016-10-16 at 19.21.56.png

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Retail Stock Check

    Based upon the picture, you wish to copy to a new page those items having a !!! in column E? Is this correct? or do you wish for something else?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Retail Stock Check

    Many members are unable to see images in the *.png format due to forum compatibility issues with some browsers.

    If you need to post an image post it in the *.jpg format.

    Even better than posting images... post a SMALL sample file. That way we can test solutions directly in the file with the relevant data.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Registered User
    Join Date
    09-13-2016
    Location
    Slovenia
    MS-Off Ver
    2016 for Mac
    Posts
    4

    Re: Retail Stock Check

    Yes that is what i wish to do ...

    so here is a small sample file

    https://www.dropbox.com/s/hao8wd3j38...bexe.xlsx?dl=0

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Retail Stock Check

    Try this:

    Please Login or Register  to view this content.

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

  8. #8
    Registered User
    Join Date
    09-13-2016
    Location
    Slovenia
    MS-Off Ver
    2016 for Mac
    Posts
    4

    Re: Retail Stock Check

    Tried that and it reurns the message completed but nothing happens ...

  9. #9
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Retail Stock Check

    Hi
    I think Alan hasn't defined the variable 'lr'. This line needs to be inserted:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    DBY
    Last edited by DBY; 10-18-2016 at 10:16 AM.

  10. #10
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Retail Stock Check

    @DBY. Thanks. Oversight on my part. This is what happens sometimes when you don't have a sample workbook to test.

+ 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: 31
    Last Post: 10-28-2015, 01:54 AM
  2. How to check stock levels using a CSV?
    By Mikec087 in forum Excel General
    Replies: 1
    Last Post: 02-08-2015, 09:58 PM
  3. Replies: 3
    Last Post: 09-29-2014, 10:27 AM
  4. [SOLVED] To check stock availability and retrieve corresponding Bill Of Entry
    By Krishnab4u in forum Excel General
    Replies: 16
    Last Post: 11-21-2013, 05:32 AM
  5. Replies: 4
    Last Post: 01-29-2013, 02:26 AM
  6. Replies: 0
    Last Post: 10-28-2012, 07:22 AM
  7. Stock Check Spreadsheet / drop down lists
    By richardson.cr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2011, 02:59 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