What formula would return the date on these two sheets

Tigs1966

New Member
Joined
Oct 23, 2018
Messages
2
I have two sheets, the first one is called "Forecast" and the second one is called "Patient Visits". I want to complete cell B3 with the corresponding date from the patient visits tab on the forecast sheet once cells on patient visits have been matched to the patient number 002/40349 and the visit title "000 baseline". Is this possible.

Forecast Sheet
AB
1Pt No
2
visit title000 Baseline
3002/4034904/05/2018
4004/40350
5005/40351
6006/08935
7007/40352
8008/20222

<tbody>
</tbody>

Patient Visit Sheet

ABC
1002/40349005 3 mth follow up06/07/2018
2002/40349004 1 Mth follow up01/06/2018
3002/40349002 Post Procedure05/05/2018
4002/40349000 Baseline04/05/2018
5002/40349001 Procedure04/05/2018
6004/40350005 3 mth follow up06/06/2018
7004/40350000 Baseline04/05/2018
8007/40352randomisation11/05/2018

<tbody>
</tbody>
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,184
Office Version
  1. 365
Platform
  1. Windows
Re: I want to know what formula would return the date on these two sheets please, any help would be appreciated

In B3 {=INDEX('Patient Visit'!$C$1:$C$8,MATCH(1,(A3='Patient Visit'!$A$1:$A$8)*(Forecast!$B$2='Patient Visit'!$B$1:$B$8),0))}
entered by holding down the ctl key the shift key and the enter key. Do not enter the curly brackets manually.

Here is a link to understand

https://exceljet.net/formula/index-and-match-with-multiple-criteria
 
Last edited:

Tigs1966

New Member
Joined
Oct 23, 2018
Messages
2
Re: I want to know what formula would return the date on these two sheets please, any help would be appreciated

In B3 {=INDEX('Patient Visit'!$C$1:$C$8,MATCH(1,(A3='Patient Visit'!$A$1:$A$8)*(Forecast!$B$2='Patient Visit'!$B$1:$B$8),0))}
entered by holding down the ctl key the shift key and the enter key. Do not enter the curly brackets manually.

Here is a link to understand

https://exceljet.net/formula/index-and-match-with-multiple-criteria


Thank you for your help, much appreciated. This worked perfectly.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,423
Messages
5,636,185
Members
416,906
Latest member
DTG

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
Top