Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crazy Subtraction 1

Status
Not open for further replies.

tj007

IS-IT--Management
Mar 14, 2003
129
US
Can this be done? I have been confronted with a user and inventory tracking form.

Column A has the total for the month (50), column C has the total after the first week (40), column E has the total for the second week, and column G has the total for the third week, and column I has the total for the fourth week. Now, column K is used to total the amount used for the month, and column L has the amount left for the month.

I have explained to the user that is best to enter the amount used in columns C,E,G & I, and use column K to sum those columns and column L to subtract from A to get his amount left for the month. The user is trying to use this formula =SUM(C3-E3)+(G3-I3). Of course this is giving him some numbers which are not balancing out. Any suggestions, he just do not seem grasp entering the amoun used.
 
tj007,

Tables, source data, if you will, ought NOT to contain SUMMARY values. SUMMARY VALUES are a reporting technique.

You ought to enter net +/- values by date and the REPORT the summary values.

In fact, the implied structure of the table is not normailzed, since you have similar data (inventory values) repeated in columns (by summary date)

You TABLE structure at a minimum, ought to be something like...
Code:
InventoryItem
TansactionDate
TracsactionValue
From a table like this, you will be able to analyze/report in a FAR EASIER and COMPREHENSIVE manner than you could with the stated format. PivotTables are a VERY POWERFUL tool for reporting. Your staff needs to learn how to employ this tool.

Hope this helps :)

Skip,
Skip@TheOfficeExperts.com
 
Thanks Skip

That is good advice, and I will do my best to explain that to the user. Wish me luck.
 
tj,

I just took the past 10 minutes dummying up some sample data and 5 SECONDS making the report.
Code:
InventoryItem 	TansactionDate 	TracsactionValue 
Screw         	37622          	1000             
Nut           	37622          	900              
Washer        	37622          	1100             
Screw         	37642          	70              
Screw         	37662          	29              
Washer        	37682          	67              
Nut           	37702          	94              
Screw         	37722          	9              
Nut           	37742          	-49              
Nut           	37762          	-41              
Screw         	37782          	44              
Washer        	37802          	-23              
Nut           	37822          	-10              
Nut           	37842          	-30              
Screw         	37862          	-72              
Screw         	37882          	93              
Washer        	37902          	37              
Nut           	37922          	4
report
Code:
Sum of TracsactionValue 	Years 	TansactionDate 	    	    	    
                     	2003  	               	    	    	Grand Total
InventoryItem           	Qtr1  	Qtr2           	Qtr3	Qtr4	    
Nut                     	994   	-90            	-40 	4   	868 
Screw                   	1099  	53             	21  	    	1173
Washer                  	1167  	-23            	    	37  	1181
Grand Total             	3260  	-60            	-19 	41  	3222
Sorry I could not get it to line up properly.


Skip,
Skip@TheOfficeExperts.com
 
skip

Bravo, other sections can use this as well. The problem is getting the users to understand. They want to push one button and the computer is suppose to know everything they are thinking. Thanks again.

 
I understand, I have pivot reports from Oracle data. In Crystal reports they are referred to as Cross Tab reports. Man, I just hat the leg work. [bigsmile]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top