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

Deepakchoudhary

New Member
Joined
Dec 20, 2010
Messages
39
Office Version
  1. 2016
Platform
  1. Windows
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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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)
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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