Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUBTOTAL with a condition

I have a Quantity column and a Unit Of Measure (UOM) column. I just want the
the SUBTOTAL of the Quantity for a particular UOM but not all of them.

Is there a way to do this?

Thanks for the help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ag Ag is offline
external usenet poster
 
Posts: 16
Default SUBTOTAL with a condition

use the Sumif function as shown below . Please note UOM has to be on
right of the qty to be summed


uom qty
pcs 2
litres 3
pcs 4
litres 5
=SUMIF(D20:E23,"pcs",E20:E23)


HTH

Regards
Anirudh

On Jan 11, 4:31*am, Prasad Basani
wrote:
I have a Quantity column and a Unit Of Measure (UOM) column. I just want the
the SUBTOTAL of the Quantity for a particular UOM but not all of them.

Is there a way to do this?

Thanks for the help!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUBTOTAL with a condition

If the user Auto Filters the data, is it going to update the sum to the
filtered rows?

Thanks for the reply!

"Ag" wrote:

use the Sumif function as shown below . Please note UOM has to be on
right of the qty to be summed


uom qty
pcs 2
litres 3
pcs 4
litres 5
=SUMIF(D20:E23,"pcs",E20:E23)


HTH

Regards
Anirudh

On Jan 11, 4:31 am, Prasad Basani
wrote:
I have a Quantity column and a Unit Of Measure (UOM) column. I just want the
the SUBTOTAL of the Quantity for a particular UOM but not all of them.

Is there a way to do this?

Thanks for the help!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default SUBTOTAL with a condition

When the user filters the data, the formula should be able to calculate the
SUM only for the filtered rows for that particular UOM.

Is it not possible to do in Excel?

Thanks

"Prasad Basani" wrote:

If the user Auto Filters the data, is it going to update the sum to the
filtered rows?

Thanks for the reply!

"Ag" wrote:

use the Sumif function as shown below . Please note UOM has to be on
right of the qty to be summed


uom qty
pcs 2
litres 3
pcs 4
litres 5
=SUMIF(D20:E23,"pcs",E20:E23)


HTH

Regards
Anirudh

On Jan 11, 4:31 am, Prasad Basani
wrote:
I have a Quantity column and a Unit Of Measure (UOM) column. I just want the
the SUBTOTAL of the Quantity for a particular UOM but not all of them.

Is there a way to do this?

Thanks for the help!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ag Ag is offline
external usenet poster
 
Posts: 16
Default SUBTOTAL with a condition

In that case you can use a data subtotal option or a pivot table
based option

Option 1
Data Subtotal - if list is sorted on UOM then using the Data subtotal
option you can add qty for every change in UOM.

Option 2

Create a pivot table based on your data with with UOM as row labels
and qty as values



HTH

Regards
Anirudh

On Jan 11, 9:19*pm, Prasad Basani
wrote:
When the user filters the data, the formula should be able to calculate the
SUM only for the filtered rows for that particular UOM.

Is it not possible to do in Excel?

Thanks



"Prasad Basani" wrote:
If the user Auto Filters the data, is it going to update the sum to the
filtered rows?


Thanks for the reply!


"Ag" wrote:


use the Sumif function as shown below . Please note UOM has to be on
right of the qty to be summed


uom * qty
pcs * 2
litres * * * *3
pcs * 4
litres * * * *5
* * * =SUMIF(D20:E23,"pcs",E20:E23)


HTH


Regards
Anirudh


On Jan 11, 4:31 am, Prasad Basani
wrote:
I have a Quantity column and a Unit Of Measure (UOM) column. I just want the
the SUBTOTAL of the Quantity for a particular UOM but not all of them.


Is there a way to do this?


Thanks for the help!- Hide quoted text -


- Show quoted text -


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
macro excel subtotal in subtotal GBO Excel Discussion (Misc queries) 2 November 29th 07 02:15 PM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
Bolding the subtotal lines automaticlly When using the Subtotal fu 06Speed6 New Users to Excel 2 October 5th 06 03:52 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 09:46 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"