#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brent
 
Posts: n/a
Default Sum IF

I have 2 columns (Column A = "Per Game Fee" , Column B = "Number of Games").
I am attempting to total Column A after it has been multiplied by Column B.
column B may have the occassional '0'(Zero), and therefore shouldn't be added
to the cummulative total of 'A'.

Thanks,
Brent
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gavin
 
Posts: n/a
Default Sum IF


Brent wrote:
I have 2 columns (Column A = "Per Game Fee" , Column B = "Number of Games").
I am attempting to total Column A after it has been multiplied by Column B.
column B may have the occassional '0'(Zero), and therefore shouldn't be added
to the cummulative total of 'A'.

Thanks,
Brent


=if(B20,A2*B2,0)

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Brent
 
Posts: n/a
Default Sum IF

Gavin,

This works for the '2' row, but how do I apply this formula to Sum the
column (i.e. a range of cells in the column (rows 2 through 100, for example)?

Thanks , in advance!

"Gavin" wrote:


Brent wrote:
I have 2 columns (Column A = "Per Game Fee" , Column B = "Number of Games").
I am attempting to total Column A after it has been multiplied by Column B.
column B may have the occassional '0'(Zero), and therefore shouldn't be added
to the cummulative total of 'A'.

Thanks,
Brent


=if(B20,A2*B2,0)


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



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