PowerPivot LOOKUPVALUE With Conditions

Qwertyu

New Member
Joined
Apr 7, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Firstly, i'm not sure that LOOKUPVALUE is the right function to be using for this scenario. So please let me know if it isn't and I will change the title.

I have two tables as shown in the image below.

What I want to do is get Table 3 to look up table 2 and show what exercise was being done during the relevant minutes.

For example Participant A on the 01/04/2020 did 3 runs (Run 1, 2, 3) each lasting 5 mins. So in table 3 Min01,02,03,04,05 would have Run 1 in the "new" column and Min06,07,08,09,10 would have Run 2.

I have added in the Total exercise Y/N column as the 'Total exercise' will dictate the start and end of exercise for each participant in that session / on that day.

Any help / questions would be appreciated. Thanks.

Question Help.png
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Columns.PNG

I know the columns on the left hand table (Table 2) aren't very clear so please see above image.
 
Upvote 0

Forum statistics

Threads
1,223,793
Messages
6,174,636
Members
452,575
Latest member
Fstick546

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