Check Consistency

ekhawaja

Board Regular
Joined
Dec 16, 2018
Messages
60
Office Version
  1. 365
Hello,

I am looking for a formula in col G that checks for consistency by looking up the value from col F , and matching in col C with criteria in col B. If for all the repeated SS number in col c, i get the same repeated value in col B, i would like col G to return yes, otherwise No.

QtySS NUMBERSS NUMBERQty Consistency (this is where I need the formula)
SS Exists12227067151222706715no
SS Exists12227067151222534595no
SS Exists12227067151222638861yes
SS Exists12227067151222705940yes
SS Required12227067151222705941yes
SS Required1222706715
11222534595
01222534595
11222534595
01222534595
01222534595
1222638861
41222705940
41222705940
1222638861
SS needed1222705941
SS needed1222705941
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
How about
Excel Formula:
=IF(ROWS(UNIQUE(FILTER($B$2:$B$100,$C$2:$C$100=F2)))=1,"yes","No")
 
Upvote 0
Hello Fluff, thanks so much for the reply, I noticed for some of them the formula returned "no" when the values were consistent........
 
Upvote 0
In that case can you post some sample data that shows the problem.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
This
How about
Excel Formula:
=IF(ROWS(UNIQUE(FILTER($B$2:$B$100,$C$2:$C$100=F2)))=1,"yes","No")
this formula is working now!! I had extra spaces in some cells which resulted in inconsistent result. Thanks Fluff for your expertise, always!

If i have 3 sheets to run this formula across, how can i modify this? I have data in 3 different sheets, i have to do it one by one for each sheet, wondering if i can incorporate across the 3 sheets at once?
 
Upvote 0
How about
Excel Formula:
=IF(ROWS(UNIQUE(FILTER(VSTACK(Sheet1!$B$2:$B$100,Sheet2!$B$2:$B$100,Sheet3!$B$2:$B$100),VSTACK(Sheet1!$C$2:$C$100,Sheet2!$C$2:$C$100,Sheet3!$C$2:$C$100)=F2)))=1,"yes","No")
 
Upvote 0

Forum statistics

Threads
1,216,066
Messages
6,128,571
Members
449,458
Latest member
gillmit

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