Aug 30 2022 08:22 AM
I have a worksheet with 20+ columns. I want to extract only specific columns of information in the rows that have a specific date. (i.e.) I want the project name, amount and comments for only the data with a date of 7/1/22.
Aug 30 2022 08:42 AM
If you have Microsoft 365 or Office 2021:
Let's say the data range is A2:Z1000 on a sheet named Data.
The date is in column D, and the columns you want to extract are A, F and P (columns 1, 6 and 16)
The date 7/1/22 is on another sheet in A2.
In (for example) B2, enter the formula
=INDEX(FILTER(Data!A2:Z1000,Data!D2:D1000=A2),,{1,6,16})
Aug 30 2022 09:31 AM
Aug 30 2022 11:48 AM
=INDEX(FILTER(Data!A2:Z1000,(Data!D2:D1000=A2)*(Data!F2:F1000<>0),,{1,6,16})