Checking matching cells and not matching???

natheplas

Board Regular
Joined
Aug 28, 2016
Messages
97
Hi All,

I have a list of numbers on one column and then a list of numbers on the column next to it.

I need to find out when the second number is different from the previous row.

Its like an exact formula i need - I will show to help explain.

So please see below. How can i get a formula that checks on column A to see previous column B and if it is different report false or something?

Please help.


10 1
10 1
10 1
11 2
11 2
11 3 difference
12 7
12 7
12 7
13 9
13 9
13 10 difference
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Thank you so much! That was exactly what I wanted. :)

I'm also really struggling with this formula:

=SUMPRODUCT((C5:C8=C10)*(SUBTOTAL(103,OFFSET(C5,ROW(C5:C8)-MIN(ROW(C5:C8)),0))))

Instead of '=C10' , I want it to count any negative number and any zero.

For example if it was 1, 2, -4, 0, 0, -9, 0, -7, -6, 10, it would count 7

Do you know how to amend this formula so it does that?

I need to use something like this so that when the filters change it only counts whats visible.

Thanks so much for your help!
 
Upvote 0

Forum statistics

Threads
1,217,414
Messages
6,136,494
Members
450,016
Latest member
murarj

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