Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 7th, 2018, 09:42 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
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
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 02:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.