Excel

alliswell

Board Regular
Joined
Mar 16, 2020
Messages
206
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
I have huge database with lots of columns and rows screenshot attached is for reference purpose

In A9 when i put any name from above database, i must get records from selected columns B,C,F

I tried with vlookup with column numbers in curly brackets but didnt work.

So please provide me with any good function with vlookup, index match, or choose offset which of these work smooth,
 

Attachments

  • Screenshot_20241225-120408.png
    Screenshot_20241225-120408.png
    107.3 KB · Views: 14

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
try in B9 and copy right:
Excel Formula:
=INDEX($B$2:$F$6,MATCH($A9,$A$2:$A$6,0),MATCH(B$8,$B$1:$F$1,0))

PS. If you are using Excel in version 2007 (as stated in your profile) you may try to select 3 cells (B9:D9) and write in formula bar:
Excel Formula:
=INDEX($B$2:$F$6,MATCH($A9,$A$2:$A$6,0),{1,2,5})
and (that's important) commit this formula with Ctrl+Shift+Enter (not just Enter).

it can be not comma between 1 2 and 5 but other character. May be backslash \ ?
I am making this comment, because it could be different in Excel 2007.
I don't have access to 2007 since several years, but remember that there was some special case and change with Excel 2010 arrival. At least in Excel version with PL locale,
 
Last edited:
Upvote 0
Solution
try in B9 and copy right:
Excel Formula:
=INDEX($B$2:$F$6,MATCH($A9,$A$2:$A$6,0),MATCH(B$8,$B$1:$F$1,0))

PS. If you are using Excel in version 2007 (as stated in your profile) you may try to select 3 cells (B9:D9) and write in formula bar:
Excel Formula:
=INDEX($B$2:$F$6,MATCH($A9,$A$2:$A$6,0),{1,2,5})
and (that's important) commit this formula with Ctrl+Shift+Enter (not just Enter).

it can be not comma between 1 2 and 5 but other character. May be backslash \ ?
I am making this comment, because it could be different in Excel 2007.
I don't have access to 2007 since several years, but remember that there was some special case and change with Excel 2010 arrival. At least in Excel version with PL locale,
Thanks kaper. You are great
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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