What Function to Use?

FireBott

Board Regular
Joined
Nov 10, 2003
Messages
66
Office Version
  1. 2016
Platform
  1. Windows
Hi All,

I have been sitting at my desk for over 2 hours working with different functions to get the end result. Can someone help me understand what function would do this and how to write it.

I have 1 spreadsheet that contains 2 tabs; Users and Sites. I am wanting to =IF Users.Site_Number = Sites.Site_ID, return the corresponding value from Sites.Site_Name into Users.Location_Name

Sites- Site ID (Col A), Site Name (Col B)
Users - Site Number (Col D), Location Name (Col E)

I know this is probably something simple and I appreciate anyone's help.

FireBott
 

Attachments

  • Excel Help.png
    Excel Help.png
    88.2 KB · Views: 11

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Does a specific site ID always use the same site name? If so use vlookup in the location name column.
 
Upvote 0
Hi David28. Thanks for the response. Yes, the Site ID always uses the same site name. I did try VLookUp but must not be doing it right. Any assistance with VLOOKUP would be helpful.

Thanks
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,312
Members
448,564
Latest member
ED38

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