Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2011, 05:04 AM
RobertH RobertH is offline Stock levels Windows Vista Stock levels Office 2003
Novice
Stock levels
 
Join Date: Jan 2011
Posts: 3
RobertH is on a distinguished road
Default Stock levels

Hi, I have the 2003 version of Excel and was wondering if anyone knew how to create a formula that adds figures into several cells at once?



Basically, I am trying to create a sheet that calculates stock levels and profit/loss each day. The confusion comes in where I have a special offer, as it takes away stock in several of the other rows.

For example, say I have Item 1, 2, 3 and then the offer. The offer has one of all these items. If someone buys all of the items through the offer, I want it to take away stock from each item's stock levels.

Sales Stock left
Item 1 3 7-2
Item 2 4 6-2
Item 3 6 4-2
Offer 2 N/A

The -2s are what I want the formula to do as I have sold 2 of the offer. How can I do this?

Hope this makes some sense!

Thanks, Rob

EDIT: oh dear, it seems to have messed up my table. I have colour coded it- each colour corresponds to a different column
Reply With Quote
  #2  
Old 01-22-2011, 06:10 AM
BjornS BjornS is offline Stock levels Windows Vista Stock levels Office 2003
Competent Performer
 
Join Date: Jan 2010
Location: Sweden
Posts: 116
BjornS is on a distinguished road
Default

Hi,
could you please attach a sample sheet for same days following each other, to make it easier to understand how your data is structured.

Kind regards
Bjorn
Reply With Quote
  #3  
Old 01-23-2011, 01:19 PM
RobertH RobertH is offline Stock levels Windows Vista Stock levels Office 2003
Novice
Stock levels
 
Join Date: Jan 2011
Posts: 3
RobertH is on a distinguished road
Default

Hi, sorry for the very late reply. I have attached a sample to this post
Attached Files
File Type: xls Profitstock levels.xls (13.5 KB, 20 views)
Reply With Quote
  #4  
Old 01-23-2011, 01:30 PM
BjornS BjornS is offline Stock levels Windows Vista Stock levels Office 2003
Competent Performer
 
Join Date: Jan 2010
Location: Sweden
Posts: 116
BjornS is on a distinguished road
Default

Hi,
Since I don't know if you have hundreds of items, a huge number of different offers etc, I base my solution on what you have sent.

The quick and easy solution is to change cell C2 from "=H8-B2" into "=H8-B2-$B$5". Copy this formula down to C3 and C4.

Kind regards
Bjorn
Reply With Quote
  #5  
Old 01-23-2011, 01:40 PM
RobertH RobertH is offline Stock levels Windows Vista Stock levels Office 2003
Novice
Stock levels
 
Join Date: Jan 2011
Posts: 3
RobertH is on a distinguished road
Default

Ah yes, that works thanks! I'm guessing if there were more items, and I only wanted to include the first few for example, I could use the same formula but change it only for the rows included in that offer?
Reply With Quote
  #6  
Old 01-24-2011, 01:02 PM
BjornS BjornS is offline Stock levels Windows Vista Stock levels Office 2003
Competent Performer
 
Join Date: Jan 2010
Location: Sweden
Posts: 116
BjornS is on a distinguished road
Default

Hi,
I am happy that it worked for you.

Note: Having different formulas on different rows (in the same column) is something I would strongly recommend to avoid. Sooner or later there will be a mistake, and it is also very difficult for others (and you) to see how it works.

Depending on how your data is structured, like how many different offers do you have, are there overlapping offers (two different offers connected to the same part), how many part numbers do you have in total (with and without offers) there are different solutions.

If you give me more information I can recommend the best solution for your situation. The more exact info you give, the better answer you will get

Regards
Bjorn
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stock levels Numbering hierarchy in different levels of headlines jaybo Word 4 01-18-2011 12:42 AM
Word Heading Levels spock0149 Word 2 06-04-2009 06:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft