ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Anyone good with excel?



Basically I have 2 columns, one contains a yes or a no and the others have a number

Y 2.045
N 1.044
Y 2.048
N 3.048
N 2.048

etc

What I want to do is compare the number 0 to its 3 closest numbers in the range and return back the majority of Y or N. Cheers for your help if you can do :)
 
lol ok.

I have 2 columns of cells. One with the numbers in and one with the Y and N's in.

I want a single cell to calculate the 3 closest numbers to 0, then see if the 3 closest numbers are Y's or N's.
 
  Hyundai i40
sort by Y/n column then number colour

then take what u need

or you could set up a marco to do it
 
  german
add a column before the Y N column and value column to calculate the rank for each value, using the formula "rank". At the side then use a lookup to lookup rank 1 2 and 3 and count the instances of each.
 


Top