Count values in a column if it match the adjacent cell

somydelafomy

New Member
Joined
Jun 4, 2014
Messages
7
Hello,

I am building a sheet to keep track of various standards' revisions of the our industry. I would like to display the quantity of outdated standards in a welcome page but I can't get my formulas to work. I want the formula to count a cell if it matches the adjacent cell. I have tried variation of the following formula but I can't get it to work: =COUNTIF(Revision!A2:A45, "="Revision!B2:B45)

The result that it should return is 7.

Owned Revision
Revision Available
99
1(2013)1(2013)
1214
1012
913
912
1113
11B13D
814
1111

<tbody>
</tbody>

Thanks in advance for your assistance. Sorry if If made some English mistakes as it's not my native language and I'm still learning.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
maybe I'm mistaken but wouldn't you want to count revisions that are not equal ?


=SUMPRODUCT(--(A2:A11<>B2:B11))
 
Upvote 0
maybe I'm mistaken but wouldn't you want to count revisions that are not equal ?


=SUMPRODUCT(--(A2:A11<>B2:B11))

It worked! Thank you so much! Been scratching my head for a while over that one... Yeah I wanted to count the revision that are not equal. I've inserted the '=' sign by mistake when I wrote it on this post. Sorry for any confusion this may have caused.

Again thanks a lot to you both! It's really appreciated.
Best regards,
-Tom
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top