=match problem

mrclox

New Member
Joined
Nov 24, 2005
Messages
46
If I put a formula into cell B1 suchas this =match("name",A:A,0) how can i then put the contents of the cell containing "name" and cells next to it into cell D1, E1, F1

Thanks in advance for any help :biggrin:
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Your post slightly confused me so let me setup an example:

In cells A1 through A5 I have:
bob
carl
george
rick
danny

(Yes, I purposely put danny out of alpha order.)

In cell B1 I have:
=MATCH("danny",A1:A5,0)
which returns 5 (row 5)

In cell C1 I have:
=INDEX(A1:A5,B1,1)
which returns "danny"

However, for this simple project, VLOOKUP is much easier to use.

(I do not understand what columns D, E & F were supposed to contain.)
 
Upvote 0

Forum statistics

Threads
1,207,108
Messages
6,076,589
Members
446,215
Latest member
userds5593

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