Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Excel 2003 - Referencing data in a table to use in formulas

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default Excel 2003 - Referencing data in a table to use in formulas

Try creating a dynamic named range. An excellent source is Debra Dalgliesh's
site.
http://www.contextures.com/xlNames01.html

You could also look at data validation on the same site.

Regards
Peter

"Rocketman" wrote:

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Excel 2003 - Referencing data in a table to use in formulas

Thanks for your help! My understanding is if you name a cell or range, the
name is referenced to the cell(s) address and not the information stored in
the cell(s). When your list is revised by adding additional rows of
information at the bottom of the list and resorting, the named cell(s) will
still refer to the previous named cell or range, even though that information
has moved to another cell (row) due to the resorting. The list I am using
has only 2 columns, one the lookup 'text string' with the adjacent 'Value' in
the next row.

"Billy Liddel" wrote:

Try creating a dynamic named range. An excellent source is Debra Dalgliesh's
site.
http://www.contextures.com/xlNames01.html

You could also look at data validation on the same site.

Regards
Peter

"Rocketman" wrote:

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default Excel 2003 - Referencing data in a table to use in formulas


Yes, the lookup value will remain the same vlookup(e23,dynamicrange,2,0) so
e23 remains the same but the dynamic range expands, or contracts as you add
or delete rows. the COUNTA function does this.

Sorry for the delay but I went to bed shortly after posting.

regards
Peter

"Rocketman" wrote:

Thanks for your help! My understanding is if you name a cell or range, the
name is referenced to the cell(s) address and not the information stored in
the cell(s). When your list is revised by adding additional rows of
information at the bottom of the list and resorting, the named cell(s) will
still refer to the previous named cell or range, even though that information
has moved to another cell (row) due to the resorting. The list I am using
has only 2 columns, one the lookup 'text string' with the adjacent 'Value' in
the next row.

"Billy Liddel" wrote:

Try creating a dynamic named range. An excellent source is Debra Dalgliesh's
site.
http://www.contextures.com/xlNames01.html

You could also look at data validation on the same site.

Regards
Peter

"Rocketman" wrote:

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Excel 2003 - Referencing data in a table to use in formulas



"Billy Liddel" wrote:


Yes, the lookup value will remain the same vlookup(e23,dynamicrange,2,0) so
e23 remains the same but the dynamic range expands, or contracts as you add
or delete rows. the COUNTA function does this.

Sorry for the delay but I went to bed shortly after posting.

regards
Peter

"Rocketman" wrote:

Thanks for your help! My understanding is if you name a cell or range, the
name is referenced to the cell(s) address and not the information stored in
the cell(s). When your list is revised by adding additional rows of
information at the bottom of the list and resorting, the named cell(s) will
still refer to the previous named cell or range, even though that information
has moved to another cell (row) due to the resorting. The list I am using
has only 2 columns, one the lookup 'text string' with the adjacent 'Value' in
the next row.

"Billy Liddel" wrote:

Try creating a dynamic named range. An excellent source is Debra Dalgliesh's
site.
http://www.contextures.com/xlNames01.html

You could also look at data validation on the same site.

Regards
Peter

"Rocketman" wrote:

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Excel 2003 - Referencing data in a table to use in formulas

Thanks for the update. Adding or deleting a row will work OK. The problem
is when you resort the data after adding or deleting a row. The resort may
change cell 'e23' content, and thus an incorrect data point referenced by the
workbook formulas.

"Billy Liddel" wrote:


Yes, the lookup value will remain the same vlookup(e23,dynamicrange,2,0) so
e23 remains the same but the dynamic range expands, or contracts as you add
or delete rows. the COUNTA function does this.

Sorry for the delay but I went to bed shortly after posting.

regards
Peter

"Rocketman" wrote:

Thanks for your help! My understanding is if you name a cell or range, the
name is referenced to the cell(s) address and not the information stored in
the cell(s). When your list is revised by adding additional rows of
information at the bottom of the list and resorting, the named cell(s) will
still refer to the previous named cell or range, even though that information
has moved to another cell (row) due to the resorting. The list I am using
has only 2 columns, one the lookup 'text string' with the adjacent 'Value' in
the next row.

"Billy Liddel" wrote:

Try creating a dynamic named range. An excellent source is Debra Dalgliesh's
site.
http://www.contextures.com/xlNames01.html

You could also look at data validation on the same site.

Regards
Peter

"Rocketman" wrote:

How do you reference data in a table for use in formulas where the data table
will be updated and resorted from time to time, thus changing the row
location of the original data. The VLOOKUP function will work if you use a
text string in the 'Look_up_value' field, but inputting text strings in every
formula is very time consuming. Is there a way to easily specify the 'text
string' in a cell as the 'Look_up_value', rather than the cell address, whose
contents will change when you resort the table after adding new data.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default Excel 2003 - Referencing data in a table to use in formulas

If you can not have a specified fererence cell in the worksheet list could
you use one in another sheet?

Peter

"Rocketman" wrote:

Thanks for the update. Adding or deleting a row will work OK. The problem
is when you resort the data after adding or deleting a row. The resort may
change cell 'e23' content, and thus an incorrect data point referenced by the
workbook formulas.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Excel 2003 - Referencing data in a table to use in formulas

Please explain how to do this. I am not following your idea. Thanks

"Billy Liddel" wrote:

If you can not have a specified fererence cell in the worksheet list could
you use one in another sheet?

Peter

"Rocketman" wrote:

Thanks for the update. Adding or deleting a row will work OK. The problem
is when you resort the data after adding or deleting a row. The resort may
change cell 'e23' content, and thus an incorrect data point referenced by the
workbook formulas.


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 527
Default Excel 2003 - Referencing data in a table to use in formulas

say you had a blank sheet where you put your references, say sheet1. Your
lookup formula on the original sheet would would be
+vlookup(sheet1!c23,Myrange,2,0) where Myrange is the dynamic range you
created earlier.

The reference calls up the sheet as well as the range. And MyRange allready
includes a Sheet reference.

Good Luck
Peter

"Rocketman" wrote:

Please explain how to do this. I am not following your idea. Thanks

"Billy Liddel" wrote:

If you can not have a specified fererence cell in the worksheet list could
you use one in another sheet?

Peter

"Rocketman" wrote:

Thanks for the update. Adding or deleting a row will work OK. The problem
is when you resort the data after adding or deleting a row. The resort may
change cell 'e23' content, and thus an incorrect data point referenced by the
workbook formulas.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing data to a table tradebox Excel Worksheet Functions 1 February 25th 08 07:53 PM
Data table is not updating correctly in excel 2003 Nathaniel Givens Excel Discussion (Misc queries) 3 June 1st 06 02:55 AM
referencing data from a table arbutus Excel Worksheet Functions 2 March 24th 06 05:29 AM
Referencing Data in a Pivot table. More Excel 2003 misery Incoherent Excel Worksheet Functions 1 March 10th 06 09:43 AM
formulas referencing pivot table cells JW_WA Excel Worksheet Functions 1 February 8th 05 12:52 AM


All times are GMT +1. The time now is 02:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"