Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need A Formula

This is my first post so pardon me if I don't do this correctly! I have a spreadsheet with columns of products & columns of quantities. The quantity column has been calculated via a VLOOKUP formula.

I need a formula to then analyze the list of products and make a summary for a pick ticket. So there may be several entries of the same item in the products list but with different quantities. Is there a way to automatically sum the quantites of all the like items? Here's what it looks like:
Product Qty
c-130 2
c-130 1/2
c-110 3

I'd like to end up with c-130 2 1/2 & c-110 3. There's another section where there are 2 separate criteria plus a qty that I need to do the same thing to. Thanks for any help you can offer! - Cindy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Need A Formula

If you have a list of the unique items, you could use the SumIF formula

=Sumif(A:A,"c-130",B:B)

where "c-130" can be replaced by a cell reference to a cell containing
c-130.

If you need to meet multiple critiera, you can use Sumproduct

=SumProduct((A1:A200=D2)*(B1:B2003)*(C1:C200))

sums up values in column C where column A equals the value in D2 and column
B is greater than 3.

You also might want to look at using a PivotTable from Data=Pivot Table
Reports

This will summarize your data in the fashion you have described including
identifying the unique items.

--
Regards,
Tom Ogilvy

"Cindy Findley" wrote in message
...
This is my first post so pardon me if I don't do this correctly! I have a

spreadsheet with columns of products & columns of quantities. The quantity
column has been calculated via a VLOOKUP formula.

I need a formula to then analyze the list of products and make a summary

for a pick ticket. So there may be several entries of the same item in the
products list but with different quantities. Is there a way to automatically
sum the quantites of all the like items? Here's what it looks like:
Product Qty
c-130 2
c-130 1/2
c-110 3

I'd like to end up with c-130 2 1/2 & c-110 3. There's another section

where there are 2 separate criteria plus a qty that I need to do the same
thing to. Thanks for any help you can offer! - Cindy


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need A Formula

I responded once but got an error message, so apologies if this shows up twice.

The problem is that I never know ahead of time what the items will be. It's a tile installation pick ticket pulling products & quantities from a work order template. It's different every time. Without knowing ahead of time what will be on the list, is there a way to automatically summarize the items to pick? That is, I can't have 3 lines of the same grout color & expect the warehouse to add them up on their own. And unfortunately, I know nothing about VBA. Thanks!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Need A Formula

Yes, as I said, use a pivot Table.

You can get a unique list with an advanced filter under the data menu

You could do it with formulas, but not sure when you want it to happen - do
you want the "form" to automatically calculate.

--
Regards,
Tom Ogilvy

"Cindy Findley" wrote in message
...
I responded once but got an error message, so apologies if this shows up

twice.

The problem is that I never know ahead of time what the items will be.

It's a tile installation pick ticket pulling products & quantities from a
work order template. It's different every time. Without knowing ahead of
time what will be on the list, is there a way to automatically summarize the
items to pick? That is, I can't have 3 lines of the same grout color &
expect the warehouse to add them up on their own. And unfortunately, I know
nothing about VBA. 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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 11:46 AM.

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"