if statements and 3 conditions to find duplicates

R

RichardO

Hello all:

I hope you can help with the following.

In column AA I have the numbers 40 or 50 in the cells. In column AB
have dollar amounts. I sorted column AB in ascending order.

I would like to write an if statement such that if AA2=40 and AA3 =5
and both AB2 and AB3 are the same, I would like excel to give the wor
"dup" in AC2.

Without the first 2 conditions, the if statement would b
if(AB2=AB3,"dup","") but I don't know how to incorporate the first
conditions.

Thanks a lot for helping.

Richard
 

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

Top