#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula Question

Here is an example of my inventory spreadsheet:
DATA TABLE
Type Amount Sold
1 15
2 10
3 5
1 6
3 10

SUMMARY TABLE
Type Amount Remaining
1
2
3

Here is what I need to do and can't figure out:
In the Data Table, I enter the amount sold by type on a new row each time
there is an order. I would like the Summary table to populate for a quick
view based on the information entered into the Data Table. If the total
inventory is 100, how do I get the Amount Remaining in the Summary table to
populate as I enter in the quantities sold by Type sold? Example: The first
entry is for 15 Type 1's sold, so the table should have read 85, then when I
entered the next sale of 6 for Type one, the summary table should reflect 79.


THANKS!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Question

Try this...

Data table in the range A2:B100 (allowing for futrue data addition)

Summary table in the range E2:En.

Enter this formula in F2 and copy down as needed:

=100-SUMIF(A$2:A$100,E2,B$2:B$100)

--
Biff
Microsoft Excel MVP


"Loly" wrote in message
...
Here is an example of my inventory spreadsheet:
DATA TABLE
Type Amount Sold
1 15
2 10
3 5
1 6
3 10

SUMMARY TABLE
Type Amount Remaining
1
2
3

Here is what I need to do and can't figure out:
In the Data Table, I enter the amount sold by type on a new row each time
there is an order. I would like the Summary table to populate for a quick
view based on the information entered into the Data Table. If the total
inventory is 100, how do I get the Amount Remaining in the Summary table
to
populate as I enter in the quantities sold by Type sold? Example: The
first
entry is for 15 Type 1's sold, so the table should have read 85, then when
I
entered the next sale of 6 for Type one, the summary table should reflect
79.


THANKS!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Question Davis Excel Worksheet Functions 3 December 11th 08 07:45 PM
Formula Question metaltecks Excel Discussion (Misc queries) 3 December 6th 06 05:24 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
formula question Fiona Excel Discussion (Misc queries) 3 September 29th 05 02:31 PM
Formula Question Qaspec Excel Discussion (Misc queries) 2 January 10th 05 03:59 AM


All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"