Search Formula Or Code?

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,196
Office Version
  1. 2010
Platform
  1. Windows
I have a spread sheet I add to each week. Column A has item numbers, columns B and C have information for each item. Is there a way to search for a known number in column A and have the sheet go to that row, or put that data in a differant column and row of my choice? Maybe the item number I'm looking for in row 2, columns D,E and F? Thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Absolutely. You'll want to use the functions VLOOKUP, HLOOKUP, INDEX & MATCH, or even OFFSET or SUMPRODUCT.
 
Upvote 0
If I want my search cell D2, I put my formula in there, it finds the item number and returns the item numbers data from the same row in cell B and C and returns that in E, F 2? Please give me a start and I will experement with any changes. Thanks
 
Upvote 0
=Vlookup(D2,$A$2:$B$20,2,0)

entered in E2 will look for the content of D2 in A2:A20 and return the corresponding entry from column B

Likewise, =Vlookup(D2,$A$2:$C$20,3,0)

Will return the corresponding entry from column C
 
Upvote 0
jasonb75 Thank you very much. I need about 200 rows right now, I changed the formule to 1000 so it will be good for a while. Thanks for the help, makes my life easier. Rocky
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,610
Members
452,931
Latest member
The Monk

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