Filter Function

asif187

New Member
Joined
Aug 7, 2021
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi,

The green row number is of a table that is attached to a query that appends multiple table. Every time I refresh my data the row number in green changes. The red one, however, does not change.

For the filter function to work I have to manually change the row numbers in the red one to match the rows in green.

Is there anyway where the red texts adjusts itself/Change to the green one dynamically ?

Can we extract the green value (using FORMULATEXT and LEFT function) to a cell and then link that cell in place of red ? or is there any other way ?


=IFERROR(IF(BS7="ALL",FILTER(ALL_ENTRY!$B$3:$AE$2625,(ALL_ENTRY!$E$3:$E$2625=LABOUR!BS6)*(ALL_ENTRY!$F$3:$F$2625>=LABOUR!BS4)*(ALL_ENTRY!$F$3:$F$2625<=LABOUR!BS5)),
FILTER(ALL_ENTRY!$B$3:$AE$2625,(ALL_ENTRY!$D$3:$D$2625=LABOUR!BS7)*(ALL_ENTRY!$E$3:$E$2625=LABOUR!BS6)*(ALL_ENTRY!$F$3:$F$2625>=LABOUR!BS4)*(ALL_ENTRY!$F$3:$F$2625<=LABOUR!BS5))),
"No Entry")
 
Why don't you refer to the table columns instead of a range?
 
Upvote 0

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