cookeetree
Board Regular
- Joined
- Mar 2, 2015
- Messages
- 53
G'day Excel Gods,
I have a worksheet that references my "Sample & Test Log". On entering a Request Number into cell $J$1, there is a formula that pulls the correct Concrete Sample Numbers for that request and inserts them into the worksheet. The worksheet is then printed for test data to be written on.
My full formula is:
=IFERROR(SORT(FILTER('[Sample & Test Log.xlsm]Concrete'!$C2:$C175,('[Sample & Test Log.xlsm]Concrete'!$A2:$A175=$J$1)*('[Sample & Test Log.xlsm]Concrete'!$V2:$V175=($AA$7-$AA$6)))),"")
This Part... '[Sample & Test Log.xlsm]Concrete'!$C2:$C175,('[Sample & Test Log.xlsm]Concrete'!$A2:$A175=$J$1 ...matches the Request Number.
This Part... '[Sample & Test Log.xlsm]Concrete'!$V2:$V175=($AA$7-$AA$6) ...matches the Age of the Sample (some are tested at 7 days, some at 28 days).
What I've discovered is that the references to the Concrete worksheet aren't dynamic; when new rows are added to the Log, the line references don't update to include the new row. If I insert a new row within the existing ones, there's no issue, it's only when I insert a new row above the first one that the problem occurs.
Is there a way around this???
Any assistance you could provide would be greatly appreciated,
Cheers, Jason.
I have a worksheet that references my "Sample & Test Log". On entering a Request Number into cell $J$1, there is a formula that pulls the correct Concrete Sample Numbers for that request and inserts them into the worksheet. The worksheet is then printed for test data to be written on.
My full formula is:
=IFERROR(SORT(FILTER('[Sample & Test Log.xlsm]Concrete'!$C2:$C175,('[Sample & Test Log.xlsm]Concrete'!$A2:$A175=$J$1)*('[Sample & Test Log.xlsm]Concrete'!$V2:$V175=($AA$7-$AA$6)))),"")
This Part... '[Sample & Test Log.xlsm]Concrete'!$C2:$C175,('[Sample & Test Log.xlsm]Concrete'!$A2:$A175=$J$1 ...matches the Request Number.
This Part... '[Sample & Test Log.xlsm]Concrete'!$V2:$V175=($AA$7-$AA$6) ...matches the Age of the Sample (some are tested at 7 days, some at 28 days).
What I've discovered is that the references to the Concrete worksheet aren't dynamic; when new rows are added to the Log, the line references don't update to include the new row. If I insert a new row within the existing ones, there's no issue, it's only when I insert a new row above the first one that the problem occurs.
Is there a way around this???
Any assistance you could provide would be greatly appreciated,
Cheers, Jason.