Could you please help to make a formula that cell G2 does not match either value in cell D6 to D22 (opposite to = MATCH($G2,'List box'!$D$6:$D$22,0). Thank you.
Could you please help to make a formula that cell G2 does not match either value in cell D6 to D22 (opposite to = MATCH($G2,'List box'!$D$6:$D$22,0). Thank you.
if it does not match then you get an #N/A
so if you use
iserror (MATCH($G2,'List box'!$D$6:$D$22,0))
will give a true
or
iferror(MATCH($G2,'List box'!$D$6:$D$22,0), "what you would like when an error")
what result do you want when there is not a match ?
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Try this array formula
=INDEX('List box'!$D$6:$D$22,SMALL(IF('List box'!$D$6:$D$22<>G$2,ROW('List box'!$D$6:$D$22)-ROW('List box'!$D$6)+1),ROWS($D$6:D6)))
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
Last edited by AlKey; 03-06-2015 at 05:02 PM.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks