#1   Report Post  
Posted to microsoft.public.excel.misc
y_not
 
Posts: n/a
Default Conditional formula?


Hi, I'm trying to find a way to total the number of cells that meet a
given criteria.

It works something like this: -

If [A1="Test"] AND [B1 is greater than zero] then [add to the number of
cells that meet this condition]

The formula will apply to 350 rows, cell in column A will contain one
of six options (all text) and column B will either have no value or
will have a numeric value.

I know this can be done but I am currently brain dead! Can anyone
advise, please?

Many thanks for all the help in the past.

Tony


--
y_not
------------------------------------------------------------------------
y_not's Profile: http://www.excelforum.com/member.php...o&userid=19947
View this thread: http://www.excelforum.com/showthread...hreadid=537670

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bondi
 
Posts: n/a
Default Conditional formula?

Hi Tony,

Maybe you can use

=SUMPRODUCT((A1:A350="Test")*(B1:B3500))

This will give you the number of cells that meets the above criteria.

Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.misc
y_not
 
Posts: n/a
Default Conditional formula?


Thanks Bondi - works a treat


--
y_not
------------------------------------------------------------------------
y_not's Profile: http://www.excelforum.com/member.php...o&userid=19947
View this thread: http://www.excelforum.com/showthread...hreadid=537670

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
Conditional Sum Formula? Boulder257 Excel Discussion (Misc queries) 1 January 25th 06 06:06 PM
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. ramana Excel Worksheet Functions 5 October 21st 05 08:39 AM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 11:55 PM
Conditional Formatting formula not acceptable? Thief_ Excel Discussion (Misc queries) 4 July 19th 05 12:54 PM
Formula Dependant Conditional Formatting LDanix Excel Discussion (Misc queries) 1 January 13th 05 07:50 PM


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