Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TB TB is offline
external usenet poster
 
Posts: 26
Default Formula to lookup item for Qty?

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;
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula to lookup item for Qty?

Try this:

=SUMIF(A2:A6,"glasses",E2:E6)

Better to use a cell to hold the criteria:

G2 = Glasses

=SUMIF(A2:A6,G2,E2:E6)

--
Biff
Microsoft Excel MVP


"tb" wrote in message
...
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;



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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;

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
Multiple Item Lookup Chad F[_2_] Excel Worksheet Functions 7 February 9th 09 11:04 PM
Multiple Item Lookup Chad F Excel Worksheet Functions 33 January 16th 09 02:33 AM
Item numbers result in item description in next field in Excel Cheryl MM Excel Worksheet Functions 1 February 20th 07 03:51 PM
ADD AN ITEM IN A FORMULA ONLY IF IT IS A NEGATIVE tcazabon Excel Worksheet Functions 8 November 4th 06 01:42 AM
formula for item no. philip Excel Discussion (Misc queries) 3 March 17th 06 07:07 PM


All times are GMT +1. The time now is 06:25 AM.

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

About Us

"It's about Microsoft Excel"