close

Im Trying To Write A Simple Sheet That Basicly Lists All The Components
In Stock With There Quantities, And Then Have A Cell Dedicated To
Selecting A Component And Entering A Quantity That Has Been Removed
From The Total Individual Amount.i.e

B1=(item)msc213 C1=(qty)23
G1=(item Selector, Select Say)msc213 H1=(qty Removed From Stores)2
That Would Then Subtract The Amount From The Right Cell 2-23=21.

As Im A Beginnner Any Help With The Formula Would Be Great!!!
Many Thanks--
alanled
------------------------------------------------------------------------
alanled's Profile: www.excelforum.com/member.php...oamp;userid=30949
View this thread: www.excelforum.com/showthread...hreadid=510993Hi Alan,

I use Excel 2003.

I'm not sure if I'm truly clear on what you're seeking to do with your
spreadsheet, but here's my understanding (for what it's worth! LOL).

I'm guessing that you'd like to be able to enter a code such as
quot;msc213quot; into a cell such as G2, and a number like quot;2quot; into a cell such
as H2, which would always deduct the stock sold from the appropriate
category of each of the identified inventories automatically.

I'm not an Excel whiz by any means, but if my understanding is correct
about what you'd like to do, here's how I might approach that challenge
in Excel 2003 (although my method may not be practical and I'm sure
there are a lot of experts here who can help you in a much better way).
There may even be some software programs that can work around this
problem in a much simpler way.

Let's say you've got all your inventory items described in column
B...using 3 different names: quot;msc213quot; (B3), quot;xyz214quot;(B4) and
quot;nnn204quot;(B5), and they're listed down column B in those rows. (I put a
blank row B2 between the title in B1 and the first data input in row
B3).

In your next column quot;Cquot; you've got the original quantities for each.
Again C3, C4 and C5 that correspond with those rows in the B column.

Let's say you want to create a column quot;Dquot; which represents the quot;finalquot;
total in each category of inventory...again...D3, D4, D5. (All the rows
correspond with one another).

I'm understanding that you may want to be able to update the totals in
each of these cells in column quot;Dquot; just by typing a simple name into
cell quot;G2quot; and a number into cell quot;H2quot; which would make a deduction to
the corresponding total in the quot;Dquot; (total) column of each category.

In this case, I think that cells quot;G2quot; and H2quot; would need to be
constants (identified by a $ sign), and that each of your rows of
inventory could only reflect the latest changes you made to them.
(Again, remember that I am just a novice myself, and really can't
guarantee this would work...but heck, it may be worth a try, right?)Okay so here's what forumula I would place in cell D3 for example:

=IF($G2=quot;msc213quot;,C3-$H2,IF($G2=quot;xyz214quot;,D3,IF($G2=quot;nnn204quot;,D3)))

In cell D4:

=IF($G2=quot;xyz214quot;,C4-$H2,IF($G2=quot;msc213quot;,D4,IF($G2=quot;nnn204quot;,D4)))

In cell D5:

=IF($G2=quot;nnn204quot;,C5-$H2,IF($G2=quot;msc213quot;,D5,IF($G2=quot;xyz214quot;,D5,IF($G2=quot; nnn204quot;,D5))))

Basically I guess what I was thinking is that if you want to insert an
indentifying name into cell G2 and a quantity into cell H2 and have it
reflect the changes to different rows at any given time, for each of
the rows, you need to let that particular cell quot;Dquot; know the difference
between leaving it alone or updating it.

I'm sure this is a dinosaur's way of doing things, but not being an
Excel expert, I can't think of any other workaround!

Hopefully someone will be along soon to resolve your issue in a much
easier way.

Best regards and good luck!

Karen

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()