hello i need help with an excel formula please.

RICK150

New Member
Joined
Nov 9, 2005
Messages
44
Hello

I work in logistics and a large part of my job is producing spreadsheets.

One spreadsheet i have to produce is given to me with the depot responsible for delivery set as a number. so depot 10 = newcastle and depot 12 = london.

When i input these i have to look through my list and find the depot name.

In column A i type the dopt numbers. Column B i've left blank for the formula. Way over in column G i have all the depot numbers listed and in column H i have the names of the depots that correspond to their number.

What i would ideally like to happen is when i type in the depot code in column a i'd like excel to automatically fill in column B with the corresponding Depot Name.

Anyone got any ideas they could tell me i'd be most appreciative.

Thank you in advance

Ricky
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I think this is what you are looking for. Adjust range G1:H100 to suit.

=VLOOKUP(A1,G1:H100,2,FALSE)
 
Upvote 0

Forum statistics

Threads
1,211,710
Messages
6,103,450
Members
447,865
Latest member
Devsito

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