Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

computed named cell references

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wehrmacher - 04 Jan 2008 22:02 GMT
I have a need for a look-up table function in Excel.  The look-up functions
are combersome for my particular application.

I can create a table, for example prices, with several named rows and
columns.  I need to find values in the table based on imported data which
contains elements which would define which row and column a value would be
returned. For example, if my price table has prices for red, blue, and yellow
balls, of ten, twelve, and fifteen inch diameters and my input data is a
contains two columns that contain the color and diameter pairs, I would like
to use the values in the columns to fabricate a "=blue twelve" like command
that would extract the appropriate price from a table with those named
ranges.  

Thus far I have been forced to concatenate the values in the input data
columns with the appropriate equal sign and space for each of the rows, copy
the result to a word document, copy the word document content and paste it
back into the spreadsheet.  Excel thinks I have typed in that content and
happily finds the prices.  although it is a horrible thing to do 50 times a
month with different input data with thousands of rows.  It seems that since
Excel has the "=RowName ColumnName" function, one should be able to compute
the commands on the fly.

Any ideas on this?  I expect this is really a database function, but we
would like to accomplish it in Excel if possible.  

Thanks
T. Valko - 04 Jan 2008 22:41 GMT
What version of Excel are you using?

I think this feature was removed from Excel 2007.

Assuming you have the table setup.
Goto Tools>Options>Calculation tab>Accept labels in formulas>OK

=blue twelve

Screencap:

http://img263.imageshack.us/img263/2275/labelsuw8.jpg

Signature

Biff
Microsoft Excel MVP

>I have a need for a look-up table function in Excel.  The look-up functions
> are combersome for my particular application.
[quoted text clipped - 29 lines]
>
> Thanks
Wehrmacher - 05 Jan 2008 00:05 GMT
Thank T.

I am using Excel 2003.  I am aware of the accept labels in formulas, however
in this case I want to use the content of two cells to become the labels to
recover the data in my table.  However, I will review that option some more
to see if it has more to it than I thought.
Signature

Bill Wehrmacher

> What version of Excel are you using?
>
[quoted text clipped - 42 lines]
> >
> > Thanks
Wehrmacher - 05 Jan 2008 00:32 GMT
Sorry for the reply to the same message, but I thought I would link to
another screen shot.  I hope this makes my description of the issue a little
more clear.

I appreciate any help.

http://wehrmacher.zenfolio.com/img/v3/p625989389.jpg
Signature

Bill Wehrmacher

> What version of Excel are you using?
>
[quoted text clipped - 42 lines]
> >
> > Thanks
Max - 05 Jan 2008 01:26 GMT
One way

Place in C10:
=IF(COUNTA(A10:B10)<>2,"",INDEX($B$2:$D$4,MATCH(A10,$A$2:$A$4,0),MATCH(B10,$B$1:$D$1,0)))
Copy down
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> Sorry for the reply to the same message, but I thought I would link to
> another screen shot.  I hope this makes my description of the issue a little
[quoted text clipped - 3 lines]
>
> http://wehrmacher.zenfolio.com/img/v3/p625989389.jpg
T. Valko - 05 Jan 2008 03:42 GMT
You do not need "Accept labels in formulas" for this...

Select the table range A1:D4
Goto the menu Insert>Name>Create
Select Top row and Left column
OK

Then:

=INDIRECT(A10) INDIRECT(B10)

Signature

Biff
Microsoft Excel MVP

> Sorry for the reply to the same message, but I thought I would link to
> another screen shot.  I hope this makes my description of the issue a
[quoted text clipped - 58 lines]
>> >
>> > Thanks
Wehrmacher - 05 Jan 2008 05:28 GMT
Thanks,

This is exactly what I needed!
Signature

Bill Wehrmacher

> You do not need "Accept labels in formulas" for this...
>
[quoted text clipped - 69 lines]
> >> >
> >> > Thanks
T. Valko - 05 Jan 2008 06:36 GMT
You're welcome. Thanks for the feedback!

Signature

Biff
Microsoft Excel MVP

> Thanks,
>
[quoted text clipped - 85 lines]
>> >> >
>> >> > Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.