+ Reply to Thread
Results 1 to 11 of 11

Formula for Auto updating products

  1. #1
    Registered User
    Join Date
    09-15-2015
    Location
    Malaysia
    MS-Off Ver
    Office 365
    Posts
    45

    Formula for Auto updating products

    Greetings to all Admins and Members.

    I have created database for my store inventory and also a sheet to summarise the weekly closings but unable to connect the week ended date and balance quantity unless I input it manually.

    Please help to check the formula and how to connect the data into a summary if its possible.

    Thank you.

    Ravindran
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Formula for Auto updating products

    1st, when using dates, you should always try to use REAL dates. 16.8.15 is not a date to excel, it is text. 16/8/15 is a real date

    2nd, you could probably use INDIRECT to find the sheet/date you want, but the names in Balance Sheet col A need to match EXACTLY to what your sheet names are.

    Once you have corrected those 2 points, we can start towards getting the formulas you need.

    On a side note, you dont need to use SUM when referencing a single cell (it's not wrong, just unnecessary...
    =SUM('Roadline Green'!F16)
    could be just...
    ='Roadline Green'!F16
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula for Auto updating products

    FDibbins is right, you should use real dates. But as your data is set up now, there is a way as in the attachment. Insert a new column with Index no.(startign at 3, because first 2 should not be included). Define name for all Sheets like this: go to Formulas - Define Name - I've added the name SheetsN(add whatever you like) and then add this formula in the formula bar: =REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"") - OK.

    In B2: =IFERROR(INDEX(SheetsN,A3),"")

    Then add this formula in D column and drag it right and down:

    =IFERROR(VLOOKUP(D$2,INDIRECT("'"&$B3&"'!"&"A:B"),2,0),0)
    Attached Files Attached Files
    Click the * to say thanks.

  4. #4
    Registered User
    Join Date
    09-15-2015
    Location
    Malaysia
    MS-Off Ver
    Office 365
    Posts
    45

    Re: Formula for Auto updating products

    Dear FDibbins and Paul. Thank you very much for your fast reply and advise.
    I have amended the dates and managed to get the stock count as highlighted in the attached sheet.
    As Paul advised I have insert the formula in column D and the figures updates but the formula (B2) I could not insert it comes out blank. Maybe I'm putting it wrongly.

    Please review the amended worksheet.

    Again, Thank you very much.
    Attached Files Attached Files

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula for Auto updating products

    Not sure why you have blanks. To me it displays the correct results. I saved as xls and it still calculates them correctly

  6. #6
    Registered User
    Join Date
    09-15-2015
    Location
    Malaysia
    MS-Off Ver
    Office 365
    Posts
    45

    Re: Formula for Auto updating products

    Hi Paul, In the B column (Brands) from A3 to A9 I have manually typed the sheet name. is it because of that? The calculation as I input on the respective sheets it captures the results in Balance sheet.

  7. #7
    Registered User
    Join Date
    09-15-2015
    Location
    Malaysia
    MS-Off Ver
    Office 365
    Posts
    45

    Re: Formula for Auto updating products

    Good Day All,
    I have managed to insert the data and formula as suggested by Paul and Fdibbins. Able to capture balances from different products into the Balance Sheet. Thank you Paul.
    But cant figured out why in balance sheet index sheet no 16 cell 18 unable to detect the quantity in balance sheet.
    Attached for your review.
    Thank you.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Formula for Auto updating products

    But cant figured out why in balance sheet index sheet no 16 cell 18 unable to detect the quantity in balance sheet.
    The problem is that the worksheet named "2 Paint Brush" has a superfluous space character at the end of the name. Remove that space and the balance sheet will be populated correctly.

  9. #9
    Registered User
    Join Date
    09-15-2015
    Location
    Malaysia
    MS-Off Ver
    Office 365
    Posts
    45

    Re: Formula for Auto updating products

    Dear All, I have managed to solve it and it works now. Thank you very much for your assistance.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Formula for Auto updating products

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Formula for Auto updating products

    Happy to help and thanks for the feedback

+ 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. [SOLVED] Updating discontinued products from supplier using 2 sheets
    By thedj25 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2013, 01:43 PM
  2. [SOLVED] Formula not auto-updating
    By jmacavali in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2013, 09:13 AM
  3. Formula to work out how many products among various products!
    By MissConfussed in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2013, 02:24 PM
  4. help with finding and auto updating lowest price for different products
    By shesdetermined24 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2012, 04:27 PM
  5. Formula not auto updating
    By vgill in forum Excel General
    Replies: 2
    Last Post: 08-25-2011, 04:52 PM
  6. Formula Values not auto-updating
    By fsutaylor31 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2008, 06:56 PM
  7. Auto Updating Formula
    By Anders Salbu in forum Excel General
    Replies: 4
    Last Post: 03-09-2006, 03:09 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