Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default How to add (sum) specific cells

If i have a colum E1:E20 with a specific letter in each cell like A,B,C and
colum F,H,J with specific numbers, how can i ADD values that lies with A only
and B only and C only?
thank u...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default How to add (sum) specific cells

Try:

=SUMPRODUCT(--(E1:E20="A")*(MOD(COLUMN(F1:J1),2)=MOD(F1,2)),F1:J 20)

I assume you want to add data in columns F,H and J when E="A"

"yodochi" wrote:

If i have a colum E1:E20 with a specific letter in each cell like A,B,C and
colum F,H,J with specific numbers, how can i ADD values that lies with A only
and B only and C only?
thank u...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default How to add (sum) specific cells

Try something like this

=SUMPRODUCT(--(E1:E20="C"),(F1:F20))

HTH,
Barb Reinhardt

"yodochi" wrote:

If i have a colum E1:E20 with a specific letter in each cell like A,B,C and
colum F,H,J with specific numbers, how can i ADD values that lies with A only
and B only and C only?
thank u...



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
Highlight specific cells in a row Johnny Excel Discussion (Misc queries) 1 January 9th 07 11:28 PM
Summing specific cells! jepoy_02 Excel Worksheet Functions 2 September 12th 05 09:45 AM
Count cells with specific values in the cells next to them? Christopher Excel Worksheet Functions 2 September 8th 05 05:49 PM
Tab to specific cells jayjay Setting up and Configuration of Excel 3 May 10th 05 12:59 AM
Sum of specific cells Daniel Excel Worksheet Functions 5 November 21st 04 02:44 PM


All times are GMT +1. The time now is 11:04 PM.

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"