Formula for adding recurrences

M

Mel Smith

Hi,

I'm trying to devise a formula (or ? function) to count the number of times
that a privider is associated with a supplier. Column A or B contain the
unique provider and column C or D contain a supplier. It may be a match in
colums A + C, B + D or A+ D or B + C. Can anyone help?
 
A

Alex Delamain

Is this what you mean?

If the name in A or B matches the name in C or D then it will give
value of 1 otherwise if there is no mathc it will give 0

=IF(OR(A1=C1,B1=D1,A1=D1,B1=C1),1,0
 

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


Top