Pull the header "Date" basis of specific marking in below cell, matching with row name.

Deepakchoudhary

New Member
Joined
Dec 20, 2010
Messages
35
Hi,
I have two sheets. One is for planning and second for reporting. Sheet one is article check calendar showing which article to check on which date. For example articles are A to Z and dates are 01-02-2019 to 26.02.2019. Tables format as A1 is header "Article" and B1 to AA1 are dates header from 01-02-2019 to 26-02-2019. From A2 to A27 are article listed as A,B,C....Z.
Crossing point Cell, in the row of article and in date column marking as "P" to show the row's article check planned date as column header.


Next.. B2 is marked as "P" for article A to check on 01-02-2019, C3 is "P" to check article B to check on 02-02-2019 and so on as D4, E5, F6... AA27 marked as "P".

Help required on second sheet for reporting.
Report format is A1 is header "ARTICLE" & B1 is "Planned Date". Article codes are already mentioned from A to Z in cell A2 to A27. Now need a lookup to match article in both sheets and pull the date from planning sheet's column header where marked "P". (Result required in second reporting sheet as B2 "01-02-2019", B3 "02-02-2019" B4"03-02-2019" and so on...)

Hope, I explained correctly what I need.

Thanks in advance.
 
Last edited:

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,342
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
a cut down version of your data, extend range to suit


Book1
ABCDEFGH
1Article01/02/201902/02/201903/02/201904/02/201905/02/201906/02/201907/02/2019
2AP
3BP
4CP
5DP
6EP
Sheet6



Book1
AB
1ARTICLEPlanned Date
2A03/02/2019
3B01/02/2019
4C02/02/2019
5D05/02/2019
6E07/02/2019
Sheet7
Cell Formulas
RangeFormula
B2=LOOKUP("P",INDEX(Sheet6!$B$2:$H$6,MATCH(Sheet7!$A2,Sheet6!$A$2:$A$6,0),0),Sheet6!$B$1:$H$1)
 

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,342
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
you're welcome
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,627
Messages
5,838,445
Members
430,549
Latest member
jayjay2022

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