Search and retrieve

mmn1000

Board Regular
Joined
Mar 17, 2020
Messages
80
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
hi,
I have 3 sheets in this attached file where I record information in the data sheet and it is saved in the Save_Data sheet.

In the Admin sheet, how can I write a formula that by entering the date and user name, the registered information from the Save_Data sheet will be called and placed in its place marked with yellow color.
Now, it doesn't matter with VBA or formula writing, this is possible

 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Dear friends and professors, was there no one to help me?
 
Upvote 0
hi,
I have 3 sheets in this attached file where I record information in the data sheet and it is saved in the Save_Data sheet.

In the Admin sheet, how can I write a formula that by entering the date and user name, the registered information from the Save_Data sheet will be called and placed in its place marked with yellow color.
Now, it doesn't matter with VBA or formula writing, this is possible


Hello
If this question of mine has no solution, please tell me so that I can close this question and look for another way
Thank you for your cooperation, my dear friends
 
Upvote 0
I used the following formula to return the data

Excel Formula:
=VLOOKUP(date;INDIRECT("Save_Data"&"!c2:cg2");2;0)
Excel Formula:
=VLOOKUP(date;INDIRECT("Save_Data"&"!c2:cg2");3;0)
.....
In this formula, there is only one date condition, I want the username to be in the condition
Information can be retrieved under two conditions


 
Upvote 0
It is really unclear on what you are trying to achieve. Your example formulas use VLookup but the range is 1 row.
I don't follow what indirect is doing for you in the formula.

Show us a picture including row and column indicators of which values you are using to do the lookup and a picture including row and column of what you want the formula to find.

PS: your spreadsheet is full of merged cells which is something most experienced excel users avoid like the plague. It will always end up causing you problems.
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,980
Members
452,540
Latest member
haasro02

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