Finding Latest Supervisor

Mahesh7

New Member
Joined
Feb 14, 2015
Messages
1
Hi All,

I have a quick question regarding PowerPivot calculate column. I have below tables

1) Transactions
EMP IDEMP NameSale AmountSale DateSupervisor Name
1xyz$100012/12/18Sup 1
1xyz$10012/15/18Sup2

<tbody>
</tbody>


2) HeadCount Table

EMP IDEMP NAmeSUp NameSUP Change Date
1xyz12/11/18SUp 1
2xyz12/14/18Sup 2

<tbody>
</tbody>


I want update the supervisor Name column in Transacitons table basis HeadCount Table. That is Sup name should reflect as per supervisor change date in HeadCount Table.

eg. For all the transactions from 12/11/18 to 12/13/18 sup name should be SUp 1 and Sup2 after that.

I am using powerpivot. I have done this in normal excel table using lookup formulas but its not working in PoserPivot.

Regards,
Mahesh
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,429
Messages
6,119,433
Members
448,897
Latest member
ksjohnson1970

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