Automatic population

ctjacobs2010

Board Regular
Joined
Dec 12, 2013
Messages
56
I am wanting to have many ISBNs in column 1. In column 2, I want to be able to type the last 4 numbers of an isbn from the column one list and then have the whole ISBN show up in column 3.


 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi,
I don't know a lot about ISBN's but to do what you want the last 4 digits in every case are going to have to be unique to get a vlookup to work. If you want it to list multiple ISBN's with the same last 4 digits I'd be using a pivot table.

Col 2 ISBN's
Col 1 =Right(b1,4)
Col 3 If last 4 dgits are unique then a simple vlookup based upon Col1 and 2.

If not unque a pivot table based on Col 1 and 2.
 
Upvote 0
VLOOKUP I think???

I am wanting to have many 13 digit numbers in column 1. In another column , I want to be able to type the last four numbers of any of the number from the column one list and then have the whole number show up in column 3.


Ex:
1234567891234 7238 1234560587238
1234567892345
1234567893456
1234567893456
1234567898796
1234567868343
1234567808086
1234567898934
1234567058763
1234567883248
1234506789324
1234560587238
1234568689728
1234567578577
1234577777777
1234500000000
1234599999999
1234554545454
1234562528200
 
Last edited:
Upvote 0
Re: VLOOKUP I think???

Can you guarantee that the last four digits are ALWAYS unique?

Because if you have options like:
8888888881234
9999999991234

Then if you type in "1234", how will it know which value it should return?

Note: I have merged your two similar threads together.
Please do not post the same question multiple times. All clarifications, follow-ups, and bumps should be posted back to the original thread. Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Re: VLOOKUP I think???

Easy enough with a helper column but tricky without; you may need VBA:


Book1
ABCD
11234567891234123480861234567808086
212345678923452345
312345678934563456
412345678934563456
512345678987968796
612345678683438343
712345678080868086
812345678989348934
912345670587638763
1012345678832483248
1112345067893249324
1212345605872387238
1312345686897289728
1412345675785778577
1512345777777777777
1612345000000000
1712345999999999999
1812345545454545454
1912345625282008200
Sheet1
Cell Formulas
RangeFormula
D1=INDEX($A$1:$A$19,MATCH($C$1,$B$1:$B$19,0))
B1=RIGHT($A1,4)+0


WBD
 
Upvote 0
Re: VLOOKUP I think???

This is wonderful and exactly what I needed! Is there a conditional formatting that I could use that says If cell b1 equals any of the numbers in cells A1-A100 then turn red, otherwise, keep white?
 
Upvote 0
Re: VLOOKUP I think???

With my example above, you'd use the following formula for conditional formatting:

Code:
=ISNUMBER(MATCH($C$1,$B$1:$B$19,0))

WBD
 
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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