LeftyLayns
New Member
- Joined
- Aug 28, 2018
- Messages
- 2
I run a report that has a list of numbers, and only need the numbers below the 0's returned in a column or sheet. Here's what the final product should be:
[TABLE="width: 234"]
<tbody>[TR]
[TD]Report:[/TD]
[TD][/TD]
[TD]Forumla Result:[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]8005[/TD]
[/TR]
[TR]
[TD]8005[/TD]
[TD][/TD]
[TD]5364[/TD]
[/TR]
[TR]
[TD]7163[/TD]
[TD][/TD]
[TD]3667[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]1971[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5364[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4912[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4398[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3667[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2139[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1971[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have an array formula that omits results already found that looks like this:
=(IFERROR(INDEX($A$2:$A$19,MATCH(0,IF(ISBLANK($A$2:$A$19),1,COUNTIF($C$1,$A$2:$A$19)),0)),""))
and as the fomula is pasted down what is Column C where $C$1 is changed to $C$1:C2 in row 3 to keep continuity and that gets me this formula result:
[TABLE="width: 64"]
<tbody>[TR]
[TD]Forumla Result:[/TD]
[/TR]
[TR]
[TD]0[/TD]
[/TR]
[TR]
[TD]8005[/TD]
[/TR]
[TR]
[TD]7163[/TD]
[/TR]
[TR]
[TD]5364[/TD]
[/TR]
[TR]
[TD]4912[/TD]
[/TR]
[TR]
[TD]4398[/TD]
[/TR]
[TR]
[TD]3667[/TD]
[/TR]
[TR]
[TD]2139[/TD]
[/TR]
[TR]
[TD]1971[/TD]
[/TR]
</tbody>[/TABLE]
I just cannot for the life of me figure out how to alter the formula to only target for numbers below the 0's.
[TABLE="width: 234"]
<tbody>[TR]
[TD]Report:[/TD]
[TD][/TD]
[TD]Forumla Result:[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]8005[/TD]
[/TR]
[TR]
[TD]8005[/TD]
[TD][/TD]
[TD]5364[/TD]
[/TR]
[TR]
[TD]7163[/TD]
[TD][/TD]
[TD]3667[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD]1971[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5364[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4912[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4398[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3667[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2139[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1971[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have an array formula that omits results already found that looks like this:
=(IFERROR(INDEX($A$2:$A$19,MATCH(0,IF(ISBLANK($A$2:$A$19),1,COUNTIF($C$1,$A$2:$A$19)),0)),""))
and as the fomula is pasted down what is Column C where $C$1 is changed to $C$1:C2 in row 3 to keep continuity and that gets me this formula result:
[TABLE="width: 64"]
<tbody>[TR]
[TD]Forumla Result:[/TD]
[/TR]
[TR]
[TD]0[/TD]
[/TR]
[TR]
[TD]8005[/TD]
[/TR]
[TR]
[TD]7163[/TD]
[/TR]
[TR]
[TD]5364[/TD]
[/TR]
[TR]
[TD]4912[/TD]
[/TR]
[TR]
[TD]4398[/TD]
[/TR]
[TR]
[TD]3667[/TD]
[/TR]
[TR]
[TD]2139[/TD]
[/TR]
[TR]
[TD]1971[/TD]
[/TR]
</tbody>[/TABLE]
I just cannot for the life of me figure out how to alter the formula to only target for numbers below the 0's.