View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_2_] Shane Devenshire[_2_] is offline
external usenet poster
 
Posts: 3,346
Default Formula to lookup item for Qty?

Here is another way to do it assuming the title in A1 is Items and row 1 has
titles,

In an empty cell enter Items and below it the item you want to find, then
use the formula:

=DSUM(A1:E6,E1,H1:H2)

where H1 has the repeat of the title in A1 and H2 is the item you want to
find.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"tb" wrote:

I currently have a sheet with the following;

A (Items) B C D E

Glasses - -- - 50
Vests --- -- - 10
Hats -- -- - 45
Glasses -- -- - 20
Hats -- -- - 45

Etc, I need a formula if possible to lookup just Glasses in the column and
return total Qty, Hats total qty...etc, etc. Its sort of like an Inventory
sheet but I enter in as purchased nothing comes out in this sheet and at the
end of the month I just want to know how many in total of the specific item
purchased.

Thanks;