ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   comparison function (https://www.excelbanter.com/excel-worksheet-functions/228415-comparison-function.html)

NEHicks

comparison function
 
I have 2 worksheets -
Worksheet A
Name, SSN, Discharge Date, Discharge Appointment Time, Discharge Time

Worksheet B
Name, SSN, Ward, Discharge Appointment Date, Discharge Appointment Time,
Discharge Date, Discharge Time

I need to find a formula that will look at Sheet B by SS# and discharge
date, compare that to the SS# and Discharge Date on worksheet A. If the row
matches, then it needs to fill the discharge appointment time cell on
worksheet A. If it doesn't, the cell stays empty and it goes to the next row
and repeats.

I am at a loss and hope that someone has an answer.

smartin

comparison function
 
NEHicks wrote:
I have 2 worksheets -
Worksheet A
Name, SSN, Discharge Date, Discharge Appointment Time, Discharge Time

Worksheet B
Name, SSN, Ward, Discharge Appointment Date, Discharge Appointment Time,
Discharge Date, Discharge Time

I need to find a formula that will look at Sheet B by SS# and discharge
date, compare that to the SS# and Discharge Date on worksheet A. If the row
matches, then it needs to fill the discharge appointment time cell on
worksheet A. If it doesn't, the cell stays empty and it goes to the next row
and repeats.

I am at a loss and hope that someone has an answer.


Have a look at

http://www.dailydoseofexcel.com/arch...n-two-columns/


All times are GMT +1. The time now is 08:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com