Finding first instance in row and retrieve data based on position and number in row

chornyak

New Member
Joined
Apr 29, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

The top table has the date and descriptions for my drawings. The bottom left table has the drawing numbers and names. If there is an X in the bottom left table, I want the bottom right table to pull the date and description from the top table.

No matter which column the first X is, the bottom right table should return the date and description in the #1 columns. What formulas should I use to achieve this?

Month:020406
Day:020406
Year:202220222022
Description:ISSUED FOR REVIEW - 15%ISSUED FOR REVIEW - 30%ISSUED FOR REVIEW - 60%
11_DATE1_DESCRIP22_DATE2_DESCRIP33_DATE3_DESCRIP
DWG NUMDWG NAMEColumn1Column5Column6
000-01COVER SHEETXXXA
2/2/2022​
ISSUED FOR REVIEW - 15%B
4/4/2022​
ISSUED FOR REVIEW - 30%C
6/6/2022​
ISSUED FOR REVIEW - 60%
000-02DRAWING INDEXXXA
4/4/2022​
ISSUED FOR REVIEW - 30%B
6/6/2022​
ISSUED FOR REVIEW - 60%
001-01LEGEND & SYMBOLSXA
6/6/2022​
ISSUED FOR REVIEW - 60%
001-02NOTESXXA
2/2/2022​
ISSUED FOR REVIEW - 15%B
6/6/2022​
ISSUED FOR REVIEW - 60%
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Welcome to the MrExcel board!

Is this what you mean?

22 04 30.xlsm
ABCDEFGHIJKLMNO
1Month:246
2Day:246
3Year:202220222022
4Description:ISSUED FOR REVIEW - 15%ISSUED FOR REVIEW - 30%ISSUED FOR REVIEW - 60%
511_DATE1_DESCRIP22_DATE2_DESCRIP33_DATE3_DESCRIP
6DWG NUMDWG NAMEColumn1Column5Column6
7000-01COVER SHEETXXXA2/02/2022ISSUED FOR REVIEW - 15%B4/04/2022ISSUED FOR REVIEW - 30%C6/06/2022ISSUED FOR REVIEW - 60%
8000-02DRAWING INDEXXXA4/04/2022ISSUED FOR REVIEW - 30%B6/06/2022ISSUED FOR REVIEW - 60%   
9001-01LEGEND & SYMBOLSXA6/06/2022ISSUED FOR REVIEW - 60%      
10001-02NOTESXXA2/02/2022ISSUED FOR REVIEW - 15%B6/06/2022ISSUED FOR REVIEW - 60%   
Drawings
Cell Formulas
RangeFormula
G7:G10,J7:J10,M7:M10G7=IF(COUNTA($C7:$E7)>=G$5,MID("ABC",G$5,1),"")
H7:H10,K7:K10,N7:N10H7=IF(G7="","",DATEVALUE(TEXTJOIN("/",,INDEX(FILTER($C$1:$E$3,$C7:$E7="X"),0,COUNT($G$5:H$5)))))
I7:I10,L7:L10,O7:O10I7=IF(G7="","",INDEX(FILTER($C$4:$E$4,$C7:$E7="X"),1,COUNT($G$5:I$5)))
 
Upvote 0
Solution

Forum statistics

Threads
1,214,911
Messages
6,122,192
Members
449,072
Latest member
DW Draft

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