Hi, I’ve been working with the following array formula for about 3 months now and only recently has it begun to present some problems. I understand excel fairly well, but this formula is a bit complex for me. I was able to customize this formula from one I found online. I do not understand VBA, and am hoping someone may be able to correct this or point me in the right direction.
{=IF(ISERROR(INDEX('[Equipment.xlsx]Sheet1’!$A$2:$R$1000,SMALL(IF('[Equipment.xlsx]Sheet1’!$A$2:$R$1000=$P$6,ROW('[Equipment.xlsx]Sheet1’!$A$2:$R$1000)),ROW(1:1))-1,3)),"",INDEX('[Equipment.xlsx]Sheet1’!$A$2:$R$1000,SMALL(IF('[Equipment.xlsx]Sheet1’!$A$2:$R$1000=$P$6,ROW('[Equipment.xlsx]Sheet1’!$A$2:$R$1000)),ROW(1:1)*2-1)-1,14))}
It is designed to pull data from a table referenced in another file (Equipment.xlsx) per business. The ROW reference moves down the range and pulls the next item matching the reference point [ROW(1:1), ROW(2:2), etc.]. The unique (usually) reference point is the business phone number as a number was needed as the reference field for this formula to work. Some now contain a bit of text to differentiate. The [*2-1] near the end was incorporated after the fact due to some items being duplicated.
Lately however, instead of pulling info like:
Equipment 1 $100 123ABC
Equipment 2 $150 123JKL
Etc.
It has been giving:
Equipment 1 $100 123ABC
#NUM #NUM #NUM
The table within Equipment has grown, but is still within the $A$2:$R$1000 range. I have since been told it will continue to grow annually. I can’t make it an Excel Table (Ctrl+T) due to the main person updating this sheet. Out of about 50 or so worksheet tabs in the presentation spreadsheet, some are working fine. However closer to the end, they are all giving the #NUM error above. Any assistance at all would be very much appreciated!
{=IF(ISERROR(INDEX('[Equipment.xlsx]Sheet1’!$A$2:$R$1000,SMALL(IF('[Equipment.xlsx]Sheet1’!$A$2:$R$1000=$P$6,ROW('[Equipment.xlsx]Sheet1’!$A$2:$R$1000)),ROW(1:1))-1,3)),"",INDEX('[Equipment.xlsx]Sheet1’!$A$2:$R$1000,SMALL(IF('[Equipment.xlsx]Sheet1’!$A$2:$R$1000=$P$6,ROW('[Equipment.xlsx]Sheet1’!$A$2:$R$1000)),ROW(1:1)*2-1)-1,14))}
It is designed to pull data from a table referenced in another file (Equipment.xlsx) per business. The ROW reference moves down the range and pulls the next item matching the reference point [ROW(1:1), ROW(2:2), etc.]. The unique (usually) reference point is the business phone number as a number was needed as the reference field for this formula to work. Some now contain a bit of text to differentiate. The [*2-1] near the end was incorporated after the fact due to some items being duplicated.
Lately however, instead of pulling info like:
Equipment 1 $100 123ABC
Equipment 2 $150 123JKL
Etc.
It has been giving:
Equipment 1 $100 123ABC
#NUM #NUM #NUM
The table within Equipment has grown, but is still within the $A$2:$R$1000 range. I have since been told it will continue to grow annually. I can’t make it an Excel Table (Ctrl+T) due to the main person updating this sheet. Out of about 50 or so worksheet tabs in the presentation spreadsheet, some are working fine. However closer to the end, they are all giving the #NUM error above. Any assistance at all would be very much appreciated!