IFERROR INDEX ROW Formula Not calculating

bradyman97

Board Regular
Joined
Feb 22, 2008
Messages
60
Office Version
  1. 2019
I need some help with this formula. I need this formula to look in column 5 of the PR sheet and look for the words Partial, Open and Needs Ordered and return the number in column A that the words Partial, Open and Needs Ordered is in.

T5 has a 5 in it
T4 is blank

{=IFERROR(INDEX(PR!A$2:R$400,SMALL(IF(OR(INDEX(PR!$A$2:$R$400,,5)="Partial",INDEX(PR!$A$2:$R$400,,5)="Open",INDEX(PR!$A$2:$R$400,,5)="Needs Ordered"),ROW(INDEX(PR!$A$2:$R$400,,5))-ROW(PR!$E$1),""),$T$5-ROW($T$4)),1),"")}



This formula seems to work for just the word Partial

{=IFERROR(INDEX(PR!A$2:R$400,SMALL(IF(INDEX(PR!$A$2:$R$400,,5)="Partial",ROW(INDEX(PR!$A$2:$R$400,,5))-ROW(Balance!$E$1),""),$T$5-ROW($T$4)),1),"")}
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
What I need is a formula that reads all the open, partial , and needs ordered in column 5 and returns the material # in cells by themselves

Thank you in advance

Material #DescriptionQty on handRe-order pointNeeds ordered
107400washer fluid04open
109947plastic fork225163
200112wood handle615partial
205630undershirt160260partial
312771jeans457328
319985large trash bags75150needs ordered

<tbody>
</tbody>
 
Upvote 0
A
B
C
D
E
F
G
1
Material #DescriptionQty on handRe-order pointNeeds orderedMaterial
2
107400​
washer fluid
0​
4​
open
107400​
3
109947​
plastic fork
225​
163​
200112​
4
200112​
wood handle
6​
15​
partial
205630​
5
205630​
undershirt
160​
260​
partial
319985​
6
312771​
jeans
457​
328​
7
319985​
large trash bags
75​
150​
needs ordered

<tbody>
</tbody>

g2=IFERROR(INDEX($A$2:$A$7,SMALL(IF($E$2:$E$7<>"",ROW($A$2:$A$7)-ROW($A$2)+1),ROWS($A$2:A2))),"") control +shift+enter copy down
 
Upvote 0
My sheets has 289 material #'s so I changed the 7's to 289 and I put it in S2 and I'm getting blank cells. What did I do wrong?
 
Upvote 0
Hi


Try

s2=IFERROR(INDEX($A$2:$A$289,SMALL(IF($E$2:$E$289<>"",ROW($A$2:$A$289)-ROW($A$2)+1),ROWS($A$2:A2))),"")

control+shift +enter copy down
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,619
Members
449,039
Latest member
Mbone Mathonsi

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