add criteria to an Index formula, <>100%

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
717
Office Version
  1. 2019
Platform
  1. Windows
Hello,
Im trying to add another criteria to the formula below, the additional criteria is DN6:DN35 <>.1
This formula creates a list of cell values meeting the existing criteria (>=.75). Fill down to create the list as needed.
thank you

Excel Formula:
=IFERROR(INDEX($DK$6:$DK$35, SMALL(IF($DN$6:$DN$35>=0.75, ROW($DN$6:$DN$35)-ROW($DN$6)+1), ROW(1:1))),"")
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Try:

Excel Formula:
=IFERROR(INDEX($DK$6:$DK$35, SMALL(IF(($DN$6:$DN$35>=0.75)*($DN$6:$DN$35<>.1), ROW($DN$6:$DN$35)-ROW($DN$6)+1), ROW(1:1))),"")
 
Upvote 0
Your thread title and original question are a bit confusing, as they seem to contradict each other.

Note how your thread title says "<>100%".
But your original question says "<>.1"

Note that these two things are NOT equivalent.
100% is actually equal to 1
.1
is equivalent to 10%
If you wanted 1%, that is equivalent to .01

So based on what you really intended, you may need to adjust the number in the formula to get the real value you want.

Note that if it really is .1, then the additional condition is totally unnecessary, as you are already checking to see if the number is greater than or equal to 0.75, and .1 is already less than that.
If it really is 100% (or 1), then you want:
Rich (BB code):
=IFERROR(INDEX($DK$6:$DK$35, SMALL(IF(($DN$6:$DN$35>=0.75)*($DN$6:$DN$35<>1), ROW($DN$6:$DN$35)-ROW($DN$6)+1), ROW(1:1))),"")
 
Upvote 0
Solution
Your thread title and original question are a bit confusing, as they seem to contradict each other.

Note how your thread title says "<>100%".
But your original question says "<>.1"

Note that these two things are NOT equivalent.
100% is actually equal to 1
.1
is equivalent to 10%
If you wanted 1%, that is equivalent to .01

So based on what you really intended, you may need to adjust the number in the formula to get the real value you want.

Note that if it really is .1, then the additional condition is totally unnecessary, as you are already checking to see if the number is greater than or equal to 0.75, and .1 is already less than that.
If it really is 100% (or 1), then you want:
Rich (BB code):
=IFERROR(INDEX($DK$6:$DK$35, SMALL(IF(($DN$6:$DN$35>=0.75)*($DN$6:$DN$35<>1), ROW($DN$6:$DN$35)-ROW($DN$6)+1), ROW(1:1))),"")
Yes, I wanted 100%, my mistake. Your formula is correct and works. Thank you.
 
Upvote 0
You are welcome.
Glad we were able to help!

Note that my formula was really just Dante's formula with the corrected numeric value.
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,520
Latest member
packrat68

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