Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 7th, 2018, 09:42 PM
Registered User
Join Date: Jul 2018
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default need help creating an inventory table

hello and thank you in advance for anyone who can successfully help me accomplish my goal

what I want to accomplish is this in an excel table I want the formula :

A1 + B1 = B1

where A1 is a changing number, in my case a daily sales number
and B1 is a running total of each days sales for a week, month or year

so if :
Day 1 of week 1 = 3 (cell A1) then week 1 = 3 (cell B1)
and if
Day 2 of week 1 = 2 (cell A1) then week 1 = 5 (cell B1 + previous total in B1)
and if
Day 3 of week 1 = 4 (cell A1) then week 1 = 9 (cell B1 + previous total in B1)

and so on, and I want it to be accomplished in as few cells as possible, just 2 would be ideal

this would also go for monthly and yearly sales totals which would also update their totals using the variable in Cell A1.

and if your really energetic maybe you can show me how to automatically cycle the formula at the end of week and month

thanks again

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inventory Control Application rth BOOK: Access 2003 VBA Programmer's Reference 0 January 26th, 2007 11:55 PM
How to support Inventory? chenimen BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 2 March 2nd, 2006 05:47 PM
Inventory dmoffice BOOK: Expert One-on-One Access Application Development 2 May 27th, 2005 05:36 PM
Creating table with existing table without value kumar_kumar Oracle 1 January 4th, 2005 07:12 AM
Creating A Progress Meter for Music Inventory 2001 Ben Horne Access VBA 0 November 19th, 2003 02:08 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.