vlookup help

agron1974

New Member
Joined
Jan 12, 2018
Messages
4
Hi there,

I'm trying to downsize my comics collection and downloaded the info into excel. In order to sell on eBay, i need to list the comic in a specific category. How do I setup a vlookup formula based of the year the comic was published. Below is the table I will be using for the formula.

Golden Age119381955
Silver Age219561969
Bronze Age319701983
Copper Age419841991
Modern Age51992

<colgroup><col width="87"><col width="66"><col width="66"><col width="66"></colgroup> <tbody>
[TD="width: 87"]
[/TD]
[TD="width: 66"] Category [/TD]
[TD="width: 66"] year start [/TD]
[TD="width: 66"] year end [/TD]

</tbody>
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome to the Board!

Set up a lookup range where your two year fields are actually on the left (the first column needs to be "year start").
Then highlight all table (all four columns and the rows of data) and name the range like this: http://www.contextures.com/xlNames01.html

Then, you can use a VLOOKUP formula to return either the Category name or Category number (whichever you want).
Here is help on how VLOOKUP works: https://www.techonthenet.com/excel/formulas/vlookup.php

So, let's say that we named our range "Comics" and that you were looking up a value found in cell J1.
Then our formula might look like:
=VLOOKUP(J1,Comics,3,TRUE)
That would return the value from the 3rd column in our named range. If we wanted to return the 4th, just change the 3 to a 4.
 
Upvote 0

Forum statistics

Threads
1,223,629
Messages
6,173,434
Members
452,514
Latest member
cjkelly15

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