#1   Report Post  
themax16
 
Posts: n/a
Default CountIf functions


Afternoon all..
I wondered if you could maybe help me..
I am trying to create a formula that will check the content off one
colum and if this reads 'closed' then will add the value in a second
colum.

e.g
A B
7 closed
1 open
2 closed
4 closed
5 open


So if colum B = closed it will add the vaule of colum A. so total is
7+2+4 = 13

How can i do this?

many thanks

James


--
themax16
------------------------------------------------------------------------
themax16's Profile: http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=437982

  #2   Report Post  
BenjieLop
 
Posts: n/a
Default


themax16 Wrote:
Afternoon all..
I wondered if you could maybe help me..
I am trying to create a formula that will check the content off one
colum and if this reads 'closed' then will add the value in a second
colum.

e.g
A B
7 closed
1 open
2 closed
4 closed
5 open


So if colum B = closed it will add the vaule of colum A. so total is
7+2+4 = 13

How can i do this?

many thanks

James


This formula

=SUMIF(B1:B5,\"CLOSED\",A1:A5)

will work for you.

Regards.


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=437982

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
Multiple Functions IF, AND, COUNTIF, MATCH Mike Excel Worksheet Functions 3 July 29th 05 08:03 PM
COUNTIF and Nested Functions? Larry Novida Excel Worksheet Functions 3 May 29th 05 07:05 PM
COUNTIF functions danowynn Excel Worksheet Functions 4 May 4th 05 10:28 PM
How do I combine COUNTIF and AND functions in Excel J Roney Excel Worksheet Functions 2 February 15th 05 08:41 PM
Is there a way to test color formatting in countIF functions? Geni Excel Worksheet Functions 3 January 27th 05 03:31 PM


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