Hi Mr Excel,
I am really wracking my brains on a difficult Excel issue here, but despite much searching of the forums, I cannot quite find the solution I am looking for.
I am using the INDEX function to return the value from a database. So far, so easy. However, the problems come when the list is filtered.
The basic syntax of my formula is as follows:
=INDEX(complete_db, counter, 2)
The dynamic range named ‘counter’ indicates the row position. However, when the list is filtered, if the ‘counter’ is 3, it will return row 3, which could be hidden by the filter. I want the formula to return position 3 in the filtered list - which could could be row 359, for example.
The closest solution I found was on excelbanter.com, which makes use of an array formula: http://www.excelbanter.com/showthread.php?t=178211
While this partially works , I am not sure how to tweak the formula to indicate how many rows to offset from the header row on the filtered list, using the dynamic ‘counter’. This array formula only shows what is directly under the header row.
I hope the problem is not terribly complicated – and somebody out there could point me in the right direction.
Any help would be really appreciated!
Best regards,
Shirley
I am really wracking my brains on a difficult Excel issue here, but despite much searching of the forums, I cannot quite find the solution I am looking for.
I am using the INDEX function to return the value from a database. So far, so easy. However, the problems come when the list is filtered.
The basic syntax of my formula is as follows:
=INDEX(complete_db, counter, 2)
The dynamic range named ‘counter’ indicates the row position. However, when the list is filtered, if the ‘counter’ is 3, it will return row 3, which could be hidden by the filter. I want the formula to return position 3 in the filtered list - which could could be row 359, for example.
The closest solution I found was on excelbanter.com, which makes use of an array formula: http://www.excelbanter.com/showthread.php?t=178211
While this partially works , I am not sure how to tweak the formula to indicate how many rows to offset from the header row on the filtered list, using the dynamic ‘counter’. This array formula only shows what is directly under the header row.
I hope the problem is not terribly complicated – and somebody out there could point me in the right direction.
Any help would be really appreciated!
Best regards,
Shirley