Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pete Elbert
 
Posts: n/a
Default Adding only cells with an X in it

Column G35 through G49 may or may not have the letter X in it based on the
product entered in Column A. Cells in Column R adds up the total of the
amounts in Column B times Column F. I need to have 2 totals. One that totals
only the cells in column G when there is an X showing and the second total
(same row - different column) adding all the cells in column R. I hope I am
making a clear question. I am sure the answer is simple, but I cannot figure
this one out. Thanks. Pete
  #2   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Adding only cells with an X in it


Try

=COUNTIF(G35:G49,"X")

and

=SUMIF(G35:G49,"x",R35:R49)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=531208

  #3   Report Post  
Posted to microsoft.public.excel.misc
Pete Elbert
 
Posts: n/a
Default Adding only cells with an X in it

Thanks for such a quick response. The =SUMIF formula was exactly what I
needed. Take care. Pete

"daddylonglegs" wrote:


Try

=COUNTIF(G35:G49,"X")

and

=SUMIF(G35:G49,"x",R35:R49)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=531208


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 specific cells Shooter Excel Worksheet Functions 1 January 23rd 06 04:42 PM
adding cells after stripping numbers out of text fields Alan Excel Discussion (Misc queries) 1 August 24th 05 08:22 PM
Adding contents of cells by clicking in Excel 2002 Kevin Gordon Excel Discussion (Misc queries) 7 January 11th 05 04:49 PM
Adding formatted cells to an outline ? Glenn Excel Discussion (Misc queries) 4 January 11th 05 04:10 PM
ADDING CELLS WHICH ARE <> THAN OTHER CELLS boogie Excel Worksheet Functions 2 November 25th 04 02:41 PM


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