LOOKUP Function for Work Spreadsheet

thestones757

New Member
Joined
Feb 24, 2010
Messages
24
Hey guys,

I am managing an excel sheet for work. People order items for office supplies and we log it on a sheet. Each staff member corresponds to a department's account number. I have set up columns with first names, last names, and combined for each staff member with their corresponding account number in the following column. Where we enter the data, I can either split it up into first name, last name, or I could do it combined. However, either way is not getting me what I want. The initial problem started because there are multiple people with the same first name so the lookup function was not resulting with what I wanted. Now I can't seem to come close. I have messed around with the MATCH function inside of LOOKUP (even looked at VLOOKUP and HLOOKUP) but nothing seems to work. Right now I have:

LOOKUP(name,column of names,column of account numbers)

this is not working and I was wondering if anyone could give me some insight on what to do? Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
thestones757,

Welcome to the MrExcel forum.


What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net
 
Upvote 0
Hi,

If you can provide some sample data that would be helpful. See my signature to post your sample.
 
Upvote 0
Thank you for this post. What does the 2 refer to? I tried using this formula and it responded with #REF. I believe it is very close to what I am looking for though, I really appreciate it, hopefully there is a quick fix that will get it returning what I am looking for.
 
Upvote 0
thestones757,

It would really help us to find a quick solution if we could see your data.


What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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