A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

reference cell from advanced filter



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 02:18 PM posted to microsoft.public.excel.worksheet.functions
Nathan
external usenet poster
 
Posts: 177
Default reference cell from advanced filter

I'm sure this is slam dunk, but I can't figure it out

On worksheet 1, I have executed an Advanced filter of 900 rows, to get down
to one row. No problem.

Now, on Worksheet 2, I want to reference an ID number from my filtered row.
Obviously, simply doing a regular cell reference won't work (=Sheet1!G271),
because the filtered row will NOT always be row 271. So, how the heck do I
reference the filtered cell without going back and linking to it new each
time?
  #2  
Old March 25th, 2010, 02:33 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default reference cell from advanced filter

The below formula will return the 1st entry in Column G from the filtered
data in Sheet1.

=INDEX(Sheet1!G2:G1000,MATCH(TRUE,INDEX(SUBTOTAL(3 ,
OFFSET(Sheet1!G2:G1000,ROW(Sheet1!G2:G1000)-
MIN(ROW(Sheet1!G2:G1000)),0,1))0,0),0))

--
Jacob


"Nathan" wrote:

I'm sure this is slam dunk, but I can't figure it out

On worksheet 1, I have executed an Advanced filter of 900 rows, to get down
to one row. No problem.

Now, on Worksheet 2, I want to reference an ID number from my filtered row.
Obviously, simply doing a regular cell reference won't work (=Sheet1!G271),
because the filtered row will NOT always be row 271. So, how the heck do I
reference the filtered cell without going back and linking to it new each
time?

  #3  
Old March 25th, 2010, 02:43 PM posted to microsoft.public.excel.worksheet.functions
Nathan
external usenet poster
 
Posts: 177
Default reference cell from advanced filter

OUTSTANDING! Worked like a charm.

Thank you so much!

"Jacob Skaria" wrote:

The below formula will return the 1st entry in Column G from the filtered
data in Sheet1.

=INDEX(Sheet1!G2:G1000,MATCH(TRUE,INDEX(SUBTOTAL(3 ,
OFFSET(Sheet1!G2:G1000,ROW(Sheet1!G2:G1000)-
MIN(ROW(Sheet1!G2:G1000)),0,1))0,0),0))

--
Jacob


"Nathan" wrote:

I'm sure this is slam dunk, but I can't figure it out

On worksheet 1, I have executed an Advanced filter of 900 rows, to get down
to one row. No problem.

Now, on Worksheet 2, I want to reference an ID number from my filtered row.
Obviously, simply doing a regular cell reference won't work (=Sheet1!G271),
because the filtered row will NOT always be row 271. So, how the heck do I
reference the filtered cell without going back and linking to it new each
time?

  #4  
Old March 26th, 2010, 02:02 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default reference cell from advanced filter

Hi,

You may transfer the output of advanced filter directly to another worksheet
using Copy to another location. Click on any cell in the destinatino
worksheets and then run advanced filters

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Nathan" wrote in message
...
I'm sure this is slam dunk, but I can't figure it out

On worksheet 1, I have executed an Advanced filter of 900 rows, to get
down
to one row. No problem.

Now, on Worksheet 2, I want to reference an ID number from my filtered
row.
Obviously, simply doing a regular cell reference won't work
(=Sheet1!G271),
because the filtered row will NOT always be row 271. So, how the heck do
I
reference the filtered cell without going back and linking to it new each
time?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.