# Need help looking up values in a different sheet

#### Judo Tom

##### Board Regular
Hello,

I am tring to use this get formula to return a values based on a cell refrence.

=IF(ISERROR(DGET(RatioCY!\$A\$1:\$CR\$10650,\$A2,Inputs!\$N\$3:\$O\$4)),#N/A,DGET(RatioCY!\$A\$1:\$CR\$10650,\$A2,Inputs!\$N\$3:\$O\$4))

ratiocy is a worksheet contains the data that i need to pull in. a2 is a cell that contains the number of the column which the specific cell i need to refrence inputs!n3:04 is the cell which contains a bank name which is what i want to match up so i can pull info from that row.

I know i am not doing the best job describing this..but basically i have the bank name in one cell then i want to use that to look up other information on the bank which is why i use the other cell which contains the column number

I have used this SAME formula in other excel spreadsheets to do the exact same thing.. but when i pasted it into this worksheet and changed the worksheet names it is not working.. ???????

### Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

##### MrExcel MVP
On 2002-10-06 19:47, Judo Tom wrote:
Hello,

I am tring to use this get formula to return a values based on a cell refrence.

=IF(ISERROR(DGET(RatioCY!\$A\$1:\$CR\$10650,\$A2,Inputs!\$N\$3:\$O\$4)),#N/A,DGET(RatioCY!\$A\$1:\$CR\$10650,\$A2,Inputs!\$N\$3:\$O\$4))

ratiocy is a worksheet contains the data that i need to pull in. a2 is a cell that contains the number of the column which the specific cell i need to refrence inputs!n3:04 is the cell which contains a bank name which is what i want to match up so i can pull info from that row.

I know i am not doing the best job describing this..but basically i have the bank name in one cell then i want to use that to look up other information on the bank which is why i use the other cell which contains the column number

I have used this SAME formula in other excel spreadsheets to do the exact same thing.. but when i pasted it into this worksheet and changed the worksheet names it is not working.. ???????

"t is not working" doesn't tell much...

Reduce the formula to

=DGET(RatioCY!\$A\$1:\$CR\$10650,\$A2,Inputs!\$N\$3:\$O\$4)

and report back what the reduced formula returns.

Replies
3
Views
72
Replies
11
Views
303
Replies
10
Views
179
Replies
7
Views
111
Replies
5
Views
77

1,127,596
Messages
5,625,712
Members
416,130
Latest member
galgozzi

### 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.

### Which adblocker are you using?

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

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