A problem about "information transfer between sheets".

OpenTheCurtain

New Member
Joined
May 14, 2020
Messages
2
Office Version
2016
Platform
Windows
Hi everyone!

Let's say there is information on Sheet1 consisting of 3 columns. When I write one of the information in the third column in a cell on Sheet2, I want the other two data in the row of the information to be printed. I would be glad if you help.

ex:
Get the name, age and citizenship number in the columns. When I enter one of the citizenship numbers in the table on the second page, I want to print the name and age information on the same line as the citizenship number I entered in the cells next to it.
 

Some videos you may like

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Dave87

Board Regular
Joined
Apr 22, 2020
Messages
87
Office Version
365, 2016
Platform
Windows
try using =INDEX(Sheet1!$A$1:$C$8,MATCH(Sheet2!$C$2,Sheet1!$C$1:$C$8,0),1) to return the information from the 1st column on sheet 1
try using =INDEX(Sheet1!$A$1:$C$8,MATCH(Sheet2!$C$2,Sheet1!$C$1:$C$8,0),2) to return the information from the 2nd column in sheet 1

you will need to change the arrays, I used A1:A8, update this with your own array reference on Sheet1
 

OpenTheCurtain

New Member
Joined
May 14, 2020
Messages
2
Office Version
2016
Platform
Windows
Thank you for your interest and help. Do you have a macro solution for this problem?
 

Dave87

Board Regular
Joined
Apr 22, 2020
Messages
87
Office Version
365, 2016
Platform
Windows
Sorry but my Macro skills leave a lot to be desired, formulas no problems but Macros are a step up for me.

You could try the 'Record Macro' button and give it a go yourself if nobody else responds
 

Watch MrExcel Video

Forum statistics

Threads
1,102,907
Messages
5,489,650
Members
407,703
Latest member
Chibuzo

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top