Multiple DGET use in one sheet

bdpelayo1

New Member
Joined
Mar 5, 2018
Messages
1
Hi, I have a workbook with 2 sheets. One is a database sent to me that contains BRANCH CODE and BRANCH columns:

Screen_Shot_2018_03_06_at_9_27_05_AM.png


The other is the sheet that I'll actually be working on:
Screen_Shot_2018_03_06_at_9_29_42_AM.png


So what I want to do is when I key in the number on the SITE COD columns, the SITE NAME column automatically gives me the BRANCH from the database.

I do know that I can use DGET by using multiple cells beyond my work space, and using those values on the SITE NAME columns. But is there a way for me to do it more easily? The reason why is that by the end of me working on this sheet, I'll have roughly 700 rows. I can't imagine having to manually assign cells for each DGET operation!

Thanks in advance.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Seems like you could use a VLOOKUP() formula to populate the BRANCH in the SITE NAME column.
Try this in cell B2, =IF(ISBLANK(A2),"",VLOOKUP(A2,DataBase!A:B,2,FALSE))
 
Upvote 0

Forum statistics

Threads
1,215,741
Messages
6,126,608
Members
449,321
Latest member
syzer

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