Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula Help Needed

Hi, This is what I have:

A B
1 33 TRUE
2 99 FALSE
3 26 TRUE
4 68 TRUE
5 19 FALSE
6 47 FALSE

What I Need: In this example I want to count how many times or occurances
happen when column B locates a "TRUE" and column A finds only values between
range of 25 thru 50. So the correct result for above example would be 2
occurances, (row 1 & row 3). I know it is a SUMIF situation but can't figure
what it would look like. Thanks in advance for anyones advice!
George B.




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Formula Help Needed

=SUMPRODUCT(--(A1:A6=25),--(A1:A6<=50),--(B1:B6=TRUE))

Mangesh



"George B." wrote in message
...
Hi, This is what I have:

A B
1 33 TRUE
2 99 FALSE
3 26 TRUE
4 68 TRUE
5 19 FALSE
6 47 FALSE

What I Need: In this example I want to count how many times or

occurances
happen when column B locates a "TRUE" and column A finds only values

between
range of 25 thru 50. So the correct result for above example would be 2
occurances, (row 1 & row 3). I know it is a SUMIF situation but can't

figure
what it would look like. Thanks in advance for anyones advice!
George B.






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default Formula Help Needed

give this formual a try...

=SUMPRODUCT((A1:A65535=25)*(A1:A65535<=50)*(B1:B6 5535))
--
HTH...

Jim Thomlinson


"George B." wrote:

Hi, This is what I have:

A B
1 33 TRUE
2 99 FALSE
3 26 TRUE
4 68 TRUE
5 19 FALSE
6 47 FALSE

What I Need: In this example I want to count how many times or occurances
happen when column B locates a "TRUE" and column A finds only values between
range of 25 thru 50. So the correct result for above example would be 2
occurances, (row 1 & row 3). I know it is a SUMIF situation but can't figure
what it would look like. Thanks in advance for anyones advice!
George B.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Formula Help Needed

Thank you Mangesh & Jim! Both formulas work superb! I really appreciate
your help!
Thanks again, George B.

"George B." wrote:

Hi, This is what I have:

A B
1 33 TRUE
2 99 FALSE
3 26 TRUE
4 68 TRUE
5 19 FALSE
6 47 FALSE

What I Need: In this example I want to count how many times or occurances
happen when column B locates a "TRUE" and column A finds only values between
range of 25 thru 50. So the correct result for above example would be 2
occurances, (row 1 & row 3). I know it is a SUMIF situation but can't figure
what it would look like. Thanks in advance for anyones advice!
George B.




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
Look Up Formula Help Needed Deepak New Users to Excel 3 December 30th 08 12:14 AM
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
formula needed please jackrobyn1 Excel Discussion (Misc queries) 2 June 5th 08 11:50 AM
Formula needed audi Excel Discussion (Misc queries) 4 August 3rd 05 12:09 PM
Formula Needed! Roman Excel Discussion (Misc queries) 2 June 19th 05 09:29 PM


All times are GMT +1. The time now is 04:09 PM.

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"