if and match or find - any code or formula

Vishaal

Well-known Member
Joined
Mar 16, 2019
Messages
543
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
  2. Web
HI All,

Thanks in advance,

we have the following sheets

Table 1
s.nohead 2head 3
15246359
2526589
3659854
46325418
59584764


Table 2
s.nohead 5t1t2t3
15246359525.01.2020text 1Rozi D mario
2958476426.01.2020text 2Dino Mario
365985456927.01.2020text 3Suchil
452658928.02.2020text 4Obam
5632541830.02.2020text 5Tony


we are trying to do following:-

in sheet1!C2, if sheet1!B2 isequalto sheet2!B2:C and when we find match get next column value
i mean you can see sheet1!B2 value match to sheet2!B5 then in sheet1!C3, we get the value sheet2:C5
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
How about
=VLOOKUP(B2,Sheet2!$B$2:$C$100,2,0)
 
Upvote 0
Thanks Fluffji

Bit can we do ot without vlookup,
 
Upvote 0
Why don't you want to use vlookup?
 
Upvote 0
thanks for your help Fluffji, but i want other option rather than vlookup

using vlookup, we can do this, i know but i required other option

thanks for your help, you solved my query, i know there are many other queries which required your time and effort, but if you can provide other option, it will help him
 
Upvote 0
What version of Excel are you using?
Please update your account details to show this. Thanks
 
Upvote 0
Thanks for that, please remember to update your account details. It saves members having to ask all the time.

Try
=INDEX(Sheet2!$C$2:$C$100,MATCH(B2,Sheet2!$B$2:$B$100,0))
 
Upvote 0
sure i will do that, and thanks for the solution
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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