Related:
- Advanced if
- Advanced systemcare free - Download - Cleaning and optimization
- Advanced pdf manager - Download - PDF
- Advanced ip scanner download - Download - Networks
- Snapchat advanced settings - Guide
- Advanced pdf password recovery - Download - File management
2 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Dec 2, 2009 at 08:27 PM
Dec 2, 2009 at 08:27 PM
for your second question
let me rephrase it
suppose there are numbers in the rows 2 to 10 both in column A and B.
if you want to find out whether the numbers (or any entries) in B2 is available in A2 to A10,
then in C 2 copy this formula
copy C2 down.
extend rows to suit you
let me rephrase it
suppose there are numbers in the rows 2 to 10 both in column A and B.
if you want to find out whether the numbers (or any entries) in B2 is available in A2 to A10,
then in C 2 copy this formula
=IF(ISNUMBER(MATCH(B2,$A$2:$A$10,0)),"yes","no")
copy C2 down.
extend rows to suit you
For your first question you will need an array formula.
You didn't give any specifics, so let me give you an example.
If you want to know how many times the word "yes" appears in range A1:A10 use this formula:
=SUM(IF(A1:A10="yes",1,0) confirm by hitting Ctrl+Shift+Enter.
By hitting Ctrl+Shift+Enter you will make the formula an array formula. This checks the condition for the entire range.
Lets's say A2, A5 and A8 has the word "yes". The formula works like this:
The IF function checks if each cell in range A1:A10 = yes and results in true or false.
=SUM(IF(False, True, False, False, True, False, False, True, False, False, 1, 0)
Now the IF function replaces true by 1 and false by 0.
=SUM(0, 1, 0, 0, 1, 0, 0, 1, 0, 0)
Finally the SUM function adds up the numbers.
=3
Now you know that the condition A1:A10 = yes is true three times.
Best regards,
Trowa
You didn't give any specifics, so let me give you an example.
If you want to know how many times the word "yes" appears in range A1:A10 use this formula:
=SUM(IF(A1:A10="yes",1,0) confirm by hitting Ctrl+Shift+Enter.
By hitting Ctrl+Shift+Enter you will make the formula an array formula. This checks the condition for the entire range.
Lets's say A2, A5 and A8 has the word "yes". The formula works like this:
The IF function checks if each cell in range A1:A10 = yes and results in true or false.
=SUM(IF(False, True, False, False, True, False, False, True, False, False, 1, 0)
Now the IF function replaces true by 1 and false by 0.
=SUM(0, 1, 0, 0, 1, 0, 0, 1, 0, 0)
Finally the SUM function adds up the numbers.
=3
Now you know that the condition A1:A10 = yes is true three times.
Best regards,
Trowa