Find in a Range and return a value

LightRose

New Member
Joined
Mar 27, 2018
Messages
5
I have a spreadsheet that has something similar to thefollowing:<o:p></o:p>
[TABLE="class: MsoTableGrid"]
<tbody>[TR]
[TD="colspan: 3"]
<o:p></o:p>​
[/TD]
[TD="width: 163, bgcolor: transparent"]
Find this number in range A1:B4<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
Bring back Officer who issued Ticket
(ticket assigned to)
<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]
A<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]
B<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
C<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]
D<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
E<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]
Beg. Ticket No.<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]
End Ticket No.<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
Book Assigned to Officer<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]
Ticket No. Issued<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
Issuing Officer<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]10000100<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]10000125<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
Ted<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]10000135<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
Brad<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]10000126<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]10000150<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
Brad<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]10000176<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
Mike<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]10000151<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]10000175<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
John<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]10000110<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
Ted<o:p></o:p>
[/TD]
[/TR]
[TR]
[TD="width: 122, bgcolor: transparent"]10000176<o:p></o:p>
[/TD]
[TD="width: 114, bgcolor: transparent"]10000200<o:p></o:p>
[/TD]
[TD="width: 90, bgcolor: transparent"]
Mike<o:p></o:p>
[/TD]
[TD="width: 163, bgcolor: transparent"]10000125<o:p></o:p>
[/TD]
[TD="width: 151, bgcolor: transparent"]
<o:p></o:p>
[/TD]
[/TR]
</tbody>[/TABLE]
<o:p></o:p>
I know how to do aVLookup and a HLookup, but I am not grasping the range to bring back what I need.<o:p></o:p>
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Sorry I meant I replied to the wrong thread, you are good, someone else should be able to help you, I just misposted.
 
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[TD]
D
[/TD]
[TD]
E
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]
Beg. Ticket No.​
[/TD]
[TD]
End Ticket No.​
[/TD]
[TD]
Book Assigned to Officer​
[/TD]
[TD]
Ticket No. Issued​
[/TD]
[TD]
Issuing Officer​
[/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]
10000100​
[/TD]
[TD]
10000125​
[/TD]
[TD]
Ted​
[/TD]
[TD]
10000135
[/TD]
[TD]Brad[/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]
10000126​
[/TD]
[TD]
10000150​
[/TD]
[TD]
Brad​
[/TD]
[TD]
10000176
[/TD]
[TD]Mike[/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]
10000151​
[/TD]
[TD]
10000175​
[/TD]
[TD]
John​
[/TD]
[TD]
10000110
[/TD]
[TD]Ted[/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]
10000176​
[/TD]
[TD]
10000200​
[/TD]
[TD]
Mike​
[/TD]
[TD]
10000125
[/TD]
[TD]Ted[/TD]
[/TR]
</tbody>[/TABLE]


e2=
VLOOKUP($D2,$A$2:$C$5,3) copy down
 
Upvote 0
Thank you, I did my VLOOKUP wrong and thought it needed to be a range formula. This worked! Thank you again.
 
Upvote 0
Hi Marziotullio,

For some reason when I copy the formula down, when I get to other tickets that have come in they are still saying from the first Officer in the first cell. I understand what you are saying but don't know where I am going wrong.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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