Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JT JT is offline
external usenet poster
 
Posts: 234
Default Adding certain cells in one column

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Adding certain cells in one column

Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"JT" wrote:

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 216
Default Adding certain cells in one column

Would a SUMIF do the same thing?

"Mike H" wrote:

Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"JT" wrote:

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Adding certain cells in one column

Yes

=SUMIF(G1:G80,"=y",E1:E80)


Gord Dibben MS Excel MVP

On Tue, 30 Mar 2010 17:11:02 -0700, Nadine
wrote:

Would a SUMIF do the same thing?

"Mike H" wrote:

Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"JT" wrote:

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Adding certain cells in one column

=SUMIF(G1:G80,"y",E1:E80) works as well.


Gord

On Tue, 30 Mar 2010 17:29:32 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

Yes

=SUMIF(G1:G80,"=y",E1:E80)


Gord Dibben MS Excel MVP

On Tue, 30 Mar 2010 17:11:02 -0700, Nadine
wrote:

Would a SUMIF do the same thing?

"Mike H" wrote:

Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"JT" wrote:

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT


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
Adding cells in every other column MarkT Excel Discussion (Misc queries) 10 March 24th 08 03:33 PM
Adding specific cells in column MG Excel Worksheet Functions 1 February 23rd 06 10:09 PM
adding individual cells in a column Sheila Excel Worksheet Functions 4 January 30th 06 11:36 PM
Adding cells in a column TJ Excel Discussion (Misc queries) 1 January 24th 06 08:42 PM
ADDING SUM TOTAL OF MORE THAN 30 CELLS IN A COLUMN TOGETHER - WON. Robin Smith Excel Discussion (Misc queries) 0 December 20th 04 08:47 PM


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