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

Hi all,

I have a table with range name "data",the table is about
500 rows with field name like this :

PLAN KEYPRV AMT UNIT
----------------------------
GWBK PVOY 10 2
GWBK VINI 20 5
VISC SV0A 30 3
SONR CSHE -60 4
VISC LOAN -50 2
GWBK TWCU 100 1

My question is how can I get a sum of the AMT by each
PLAN? Which sum up function should I use for this purpose?

Thanks in advance for inputs.
Meme
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,089
Default sum function

Meme

=SUMIF(A:A,="GWBK",C:C)

You could use an Advanced Filter to extract the unique PLAN entries to
another cell location.

Then you can use:

=SUMIF(A:A,F1,C:C) assuming that F1 contains, for example, GWBK

Regards

Trevor


"Meme" wrote in message
...
Hi all,

I have a table with range name "data",the table is about
500 rows with field name like this :

PLAN KEYPRV AMT UNIT
----------------------------
GWBK PVOY 10 2
GWBK VINI 20 5
VISC SV0A 30 3
SONR CSHE -60 4
VISC LOAN -50 2
GWBK TWCU 100 1

My question is how can I get a sum of the AMT by each
PLAN? Which sum up function should I use for this purpose?

Thanks in advance for inputs.
Meme



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default sum function

Meme,

Another way is to use a Pivot Table which will return something like

GWBK 130
SONR -60
VISC -20
Total 50

HTH
Anders Silven

"Trevor Shuttleworth" skrev i meddelandet
...
Meme

=SUMIF(A:A,="GWBK",C:C)

You could use an Advanced Filter to extract the unique PLAN entries to
another cell location.

Then you can use:

=SUMIF(A:A,F1,C:C) assuming that F1 contains, for example, GWBK

Regards

Trevor


"Meme" wrote in message
...
Hi all,

I have a table with range name "data",the table is about
500 rows with field name like this :

PLAN KEYPRV AMT UNIT
----------------------------
GWBK PVOY 10 2
GWBK VINI 20 5
VISC SV0A 30 3
SONR CSHE -60 4
VISC LOAN -50 2
GWBK TWCU 100 1

My question is how can I get a sum of the AMT by each
PLAN? Which sum up function should I use for this purpose?

Thanks in advance for inputs.
Meme




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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM


All times are GMT +1. The time now is 02:46 PM.

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"