DB reference

smittycft99

Board Regular
Joined
Apr 16, 2002
Messages
128
This is what I have
D1 D2
1 cat
2 dog
3 mouse
4 hello
5 table
A1 - if someone types in the number 3 in A1 I want mouse to populate A2
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
don't forget to put false in the end in your formula, otherwise you will get problems with sorting
 
Upvote 0
On 2002-05-09 13:09, smittycft99 wrote:
This is what I have
D1 D2
1 cat
2 dog
3 mouse
4 hello
5 table
A1 - if someone types in the number 3 in A1 I want mouse to populate A2

You table description is somewhat lacking. In the absense of more info I fail to see why a sequential lookup is required when you could directly access the desired value using...

=INDEX(D2:D6,A1)

...where D2:D6 contains {"cat";"dog";"mouse";"hello";"table"}.
This message was edited by Mark W. on 2002-05-09 14:33
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,065
Members
448,942
Latest member
sharmarick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top