How to copy column based on cell value to another sheet?
Supposing you have a range of data in Sheet 1, and each column header is a date, and now you want to copy the whole column from Sheet 1 to Sheet 3 based on the date in Cell A1 of Sheet 2 as below screenshot shown. In this tutorial, I will introduce a trick on solving this job in Excel.
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
Here is an lNDEX formula in Excel can help you to quickly extract the column data to another sheet based on a cell value.
1. Select a blank cell which you want to place the extracted column, for instance, Cell A1 in Sheet 3, and then enter this formula =INDEX(Sheet1!$A1:$E1,MATCH(Sheet2!$A$1,Sheet1!$A$1:$E$1,0)) and press Enter key to extract the first data, then drag auto fill handle down to until zero appears. See screenshot:
2. Then remove the zero cells as you need.