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 / April 2008

Tip: Looking for answers? Try searching our database.

Returning a cell value in a database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gulfman100 - 02 Apr 2008 03:10 GMT
I am creating a home building estimate program in excel and want to return
the value in a certain cell by giving row and column referances. I created
lists with headers to referance the rows and col. I named the database to
referance it. Everything I try to do to referance the database returns an
error. I have tried the Index function (array style) to retreive the data. I
suspected that the row and col names have something to do with the problem so
I tried formatting their cells as text only and that didn't help.

This the database file: http://www.freefilehosting.net/download/3efdg
Thanks in Advance
T. Valko - 02 Apr 2008 03:39 GMT
Based on your sample file...

To lookup a 2x4 10 ft long:

A10 = 2x4
B1 = 10

=VLOOKUP(A10,A2:O8,MATCH(B10,A2:O2,0),0)

Signature

Biff
Microsoft Excel MVP

>I am creating a home building estimate program in excel and want to return
> the value in a certain cell by giving row and column referances. I created
[quoted text clipped - 8 lines]
> This the database file: http://www.freefilehosting.net/download/3efdg
> Thanks in Advance
T. Valko - 02 Apr 2008 03:46 GMT
Ooops!

Typo:

> To lookup a 2x4 10 ft long:
> A10 = 2x4
> B1 = 10

Should be:

To lookup a 2x4 10 ft long:
A10 = 2x4
B10 = 10

Signature

Biff
Microsoft Excel MVP

> Based on your sample file...
>
[quoted text clipped - 18 lines]
>> This the database file: http://www.freefilehosting.net/download/3efdg
>> Thanks in Advance
Max - 02 Apr 2008 04:02 GMT
Another option to return the intersection value within the table
is to use a normal index/match on top row/leftmost col

Illustrated in new sheet: x in your sample:
http://www.freefilehosting.net/download/3efdj
Index_match top row_left col.xls

In sheet: x,
Assume Size & Length values are selected from DVs / input in P2:Q2 down
In R2
=IF(COUNTA(P2:Q2)<2,"",INDEX($B$3:$N$7,MATCH(P2,$A$3:$A$7,0),MATCH(Q2,$B$2:$N$2,0)))
Copy down to return results from the table
Signature

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

> I am creating a home building estimate program in excel and want to return
> the value in a certain cell by giving row and column referances. I created
[quoted text clipped - 6 lines]
> This the database file: http://www.freefilehosting.net/download/3efdg
> Thanks in Advance
T. Valko - 02 Apr 2008 05:02 GMT
>use a normal index/match

Does that mean vlookup/match is abnormal? <g>

Signature

Biff
Microsoft Excel MVP

> Another option to return the intersection value within the table
> is to use a normal index/match on top row/leftmost col
[quoted text clipped - 22 lines]
>> This the database file: http://www.freefilehosting.net/download/3efdg
>> Thanks in Advance
Max - 02 Apr 2008 05:22 GMT
> >.. use a normal index/match
Think the OP's mention of "array" in his attempt:
> ... Index function (array style) ..
must have resounded so loudly in my subconscious
that it felt compelled to say "normal" index/match
as-in just press ENTER to confirm the formula

> Does that mean vlookup/match is abnormal? <g>
Hardly, "extra-ordinary" or "creative" would be better choices
Signature

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

 
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.