# Auto recall and removal of the array depending on the result of the calculation of another

1. ## Auto recall and removal of the array depending on the result of the calculation of another

I maintain an order register in Excel with two worksheets. In the first sheet (Order Record) I maintain 7 columns (Order Dt, Order No, Country, Shipment Dt, Delivery Dt , Special Requirement, and Processing Days). The last column calculates the difference between “Order Date” and Today() if there is no date in the “Shipment Dt” column. Which means if the order is already shipped, The “Processing Days” column will show nothing.
What I need to do is to create a formula in my second worksheet (Outstanding), so that it can fetch four columns from the first sheet (Order Record) if there is any outstanding order (ie. “Processing Days” columns show any number of days. The four columns which are to shown in this manner are not side-by-side (Order Dt, Order No, Country, Special Requirement). In that way whenever an order is shipped the fetched arrays will automatically get removed.
Please check my attached sample file (Shipment) for better clarification.
Looking forward to your kind response.

2. ## Re: Auto recall and removal of the array depending on the result of the calculation of ano

Try this ARRAY formula,

=IFERROR(INDEX('Order Record'!A\$2:A\$1000;SMALL(IF('Order Record'!\$G\$2:\$G\$1000<>"";ROW('Order Record'!A\$2:A\$1000)-1);ROW('Order Record'!A1)));"")

3. ## Re: Auto recall and removal of the array depending on the result of the calculation of ano

Cheers Fotis!!
It worked perfectly well. I guess the highlighted area on the Outstanding sheet was the array to the formula.
Take care.

4. ## Re: Auto recall and removal of the array depending on the result of the calculation of ano

.........................

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1