I am trying to figure out a code I can use in excel that will allow me to compare a sell in one row with one figure and a sell in another row with another figure. Once I have done that I want to be able to count all the rows that were true for both of criteria.
as an example I have data in columns B and C
I want excel to look in colum B row 3 and see if their is a value of lets say 4
then look in column C row 3 and see if their is a value of say 2
I then want excel to do the same for rows 3-23 and count all the instances that both values appear together. how can I do this without creating a macro, or do I necesarrily need to use a macro?
as an example I have data in columns B and C
I want excel to look in colum B row 3 and see if their is a value of lets say 4
then look in column C row 3 and see if their is a value of say 2
I then want excel to do the same for rows 3-23 and count all the instances that both values appear together. how can I do this without creating a macro, or do I necesarrily need to use a macro?