formula help

G

Guest

Hello,

I was wondering if there was a way to create a formula which captured
information from two separate cells in two separate columns but allowed you
to capture every time these two fields are in the same row. For example

Column A Column B
A 1
B 2
C 3
D 4

I would need a formula which would capture every time that "A" and "4" are
in the same row at any given time.

Hope you can help!

Thanx!

Srain
 
G

Guest

In a helper column, enter:

=A1&B1 and copy down

Then apply AutoFilter and you will be able to locate every row in which the
helper is A4
 
D

Domenic

To count the number of times a cell in Column A equals "A", and the
corresponding value in Column B equals 4, try...

=SUMPRODUCT(--($A$1:$A$4="A"),--($B$1:$B$4=4))

Hope this helps!
 
G

Guest

If you want the result in another column you could use
=IF(AND(A2="A",B2=4),"match","no match") & drag it down.

--
John
MOS Master Instructor
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formula help 11
Formula help 13
Not equat to 2
Charting a range of data 1
Charting a range of data 8
Having Blank Cells, etc. ? 1
how to use pivot data in formula or fuctions? 1
counting blank cells within two columns 2

Top