Compare data in table with Exchange data

El Jameo

New Member
Joined
Oct 1, 2018
Messages
1
Hi all,


Apologies for just dropping in to ask a question but I'm not a programmer by trade and my knowledge of the fundamentals clearly isn't good enough!


So I've got a table with the correct line manager for each person but the data that sits on the Exchange server is incorrect. I'm creating a list of people who need their manager updating so someone else can make the adjustments.


In a nutshell, I need to grab the unique ID in my table (listed as the Alias on the Exchange), use that to grab their incorrect line manager (if it is) and compare that to a column with the correct manager listed. If it's correct, put YES in the correct column, all is well and move to the next row. If incorrect, put NO in the correct column, list the correct manager in the adjustment column and move to the next row.


Example (excuse the lack of originality in the names):


Unique ID
Name
Manager
Correct?
Adjustment
r574
John Doe
Dave Man
YES
h463
Jane Doe
Frank Man
NO
Mike Man
l923
Another Doe
Steve Man
YES

<tbody>
</tbody>










Any help is super appreciated!
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,215,322
Messages
6,124,241
Members
449,149
Latest member
mwdbActuary

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