Computing.Net > Forums > Office Software > Excel formula trouble

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel formula trouble

Reply to Message Icon

Name: Neil
Date: March 18, 2003 at 09:57:53 Pacific
OS: Win2k
CPU/Ram: Duron800 196mb
Comment:

I'm doing some work in excel, and I need to create a stock file and ordering system for my course.
I have a stock file worksheet, and a purchase order worksheet. When a purchase order is placed the user enters the amount of an item that was ordered, I need a way of having this number add to the number in stock column in the stockfile worksheet.
The problem is, it needs to add the number only once, as the number ordered in the purchase order worksheet is cleared to "0" for the next order to be placed. This then takes the number in stock back down.
Hope that makes sense.

Please help :D



Sponsored Link
Ads by Google

Response Number 1
Name: taxi
Date: March 18, 2003 at 23:06:32 Pacific
Reply:

the way i think : u make a list in a part of ur stock sheet , with a sum on the top, including the 1 to 500or + lines below. With an autoexec macro, u reach the top of this list, just down ur sum and make a research (for example as long as isempty lc"" select l(+1))to reach the 1st empty field, and next u take the order field concerned to put in it. Ur macro saves ur stock sheet and is ready for a new order. In ur stock sheet, u only bring the sum from the top of ur list.


0

Response Number 2
Name: Neil
Date: March 19, 2003 at 07:45:47 Pacific
Reply:

Sorry, but i'm lost there..
can you describe exactly what I have to do to make it work.


0

Response Number 3
Name: taxi
Date: March 20, 2003 at 00:22:27 Pacific
Reply:

shortest way could be:
open ur folder. with 2 sheets "order" and "total order"
go in ur "order" sheet.
Register a new macro
select order cell wich contains ur order number u want to add to the total
copy
select "total order" sheet, select the cell which contains the total, then special paste / add
then select "order sheet" and ur order cell and tape "0"
then end of macro. Each time u'll execute this macro, it 'll take ur order number and add it to the total . That's what u want?


0

Response Number 4
Name: Neil
Date: March 20, 2003 at 07:15:13 Pacific
Reply:

Thank You very much!!!
I can't tell you how much help that is!
I had never even used paste special :)

Thanks again..


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


missing vertical scrollba... driver for plustek 600p



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Excel formula trouble

Excel Formula Help www.computing.net/answers/office/excel-formula-help/2797.html

Problems with Excel Formulas www.computing.net/answers/office/problems-with-excel-formulas/5502.html

Excel formula...again... www.computing.net/answers/office/excel-formulaagain/6741.html