Formula to check if values match or are zero

SandMan20

New Member
Joined
Jul 21, 2015
Messages
6
I'm working in Excel 2013 on Windows 7.
I'm working on a project to compare the prices on items between multiple sites, and I am trying to come up with a formula to check if all of the prices either match, or are blank (ie, a given site does not have an item).
For instance, I would like the following chart to count as a bad set,
site 15
site 25
site 3
site 46

<tbody>
</tbody>
On the other hand, the following would be counted as a good set:
site 15
site 2
site 35
site 45

<tbody>
</tbody>

Is there any formula that can accomplish this?
Thanks!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Suppose the prices are in B1:B4, then:
Code:
=SUM(--(FREQUENCY(B1:B4, B1:B4)>0))
will give you the number of different prices, so 1 for a good set and >1 for a bad set.
 
Upvote 0

Forum statistics

Threads
1,215,852
Messages
6,127,322
Members
449,374
Latest member
analystvar

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