Vlookup

imisy3d

New Member
Joined
Sep 3, 2013
Messages
19
Sheet1, column-C2:C4 has the following values
359411083983706
452528741366222
521452282996963

Column-M2:M4 .....
INSTOCK
INSTOCK
INSTOCK

Sheet 2, column-C2:C3
359411083983706
521452282996963

Column-M2:M3
Sold on 28-04-2018
Sold on 02-05-2018


i want a formula to compare/match column-C of sheet1 with column-c of sheet2
if found/matched them sold on 28-04-2018 reflects on Column-M of sheet1, otherwise shows INSTOCK

please i need urgent help
thanks
 

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.
In Sheet1 M2 and filled down
=IFERROR(VLOOKUP(C2,Sheet2!C$2:M$3,11,0),"INSTOCK")
 
Upvote 0
Works for me.


Excel 2013/2016
CDLM
2359411083983706Sold on 28-04-2018
3452528741366222INSTOCK
4521452282996963Sold on 02-05-2018
Sheet1
Cell Formulas
RangeFormula
M2=IFERROR(VLOOKUP(C2,Sheet2!C$2:M$3,11,0),"INSTOCK")
M3=IFERROR(VLOOKUP(C3,Sheet2!C$2:M$3,11,0),"INSTOCK")
M4=IFERROR(VLOOKUP(C4,Sheet2!C$2:M$3,11,0),"INSTOCK")



Excel 2013/2016
CDLM
2359411083983706Sold on 28-04-2018
3521452282996963Sold on 02-05-2018
Sheet2
 
Upvote 0
It's likely that you have mixed data.
of the 2 column C values, one set is real numbers, while the other is 'Numbers Stored As Text'.

Use ISNUMBER to figure out which is which.
=ISNUMBER(Sheet1!C2) - and fill down
=ISNUMBER(Sheet2!C2) - and fill down
 
Upvote 0
sorry may be i am wrong, but its not working for me
=IFERROR(VLOOKUP(C2,SOLD05022018!C$2:M$3,11,0),"INSTOCK")
sheet2 name is Sold05022018
want to compare C$2:C$5
while M is 13 column instead of 11,

please help me
thanks
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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