If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Formula: If 2 values (in a range of six) are >3 then TRUE, FALSE
I would like to write an IF formula with the condition:
IF two or more values in a range of six values are 3 then state "true" I only know how to conditon "if one number in a range is 3 then true. How to do it when you want to know if there are at least two numbers that show 3? |
#2
|
|||
|
|||
=COUNTIF(A1:A6,"3")2
Or, if you require Text instead of Booleans, =IF(COUNTIF(A1:A6,"3")2,"True","False") Kind regards, Niek Otten "IFfunction" wrote in message ... I would like to write an IF formula with the condition: IF two or more values in a range of six values are 3 then state "true" I only know how to conditon "if one number in a range is 3 then true. How to do it when you want to know if there are at least two numbers that show 3? |
#3
|
|||
|
|||
As an example
=IF(COUNTIF(A1:E1,"3")1,"true","") -- HTH Bob Phillips "IFfunction" wrote in message ... I would like to write an IF formula with the condition: IF two or more values in a range of six values are 3 then state "true" I only know how to conditon "if one number in a range is 3 then true. How to do it when you want to know if there are at least two numbers that show 3? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Applying formula to only NON-EMPTY cells in range | Tasi | General Discussion | 5 | March 29th, 2005 10:48 PM |
Creating an EXCEL COUNTIF formula for a range of values | Pat Walsh | General Discussion | 5 | January 21st, 2005 02:57 PM |
Problem copying formula to range of cells | Ellen | Setting up and Configuration | 4 | November 20th, 2004 12:52 AM |
Formula cell references when sorting values in another worksheet | Frank Kabel | Worksheet Functions | 0 | March 30th, 2004 11:27 AM |
is there a formula that can count a range of cells with text? | Frank Kabel | Worksheet Functions | 0 | March 11th, 2004 08:04 PM |