Forum Discussion
Copy cells to second sheet based on condition on one cell from first cell
- May 09, 2024
In A2 on Sheet2:
=CHOOSECOLS(FILTER(Sheet1!$A$2:$O$1000, (Sheet1!$I$2:$I$1000="Ready to Ship")+(Sheet1!$I$2:$I$1000="Ready for P/U"), ""), 2, 9, 10, 11, 12, 13, 14, 15)
Which version of Excel do you have? The formula that I posted will work in Excel in Microsoft 365 (and Excel Online).
- MSTS0022May 09, 2024Copper ContributorI tried in both.
I am using Microsoft® Excel® for Microsoft 365 MSO (Version 2403 Build 16.0.17425.20176) 64-bit- HansVogelaarMay 09, 2024MVP
It should work - I have attached a small demo workbook.
If you cannot get it to work, could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar? Alternatively, you can attach it to a private message to me. Thanks in advance.
- MSTS0022May 10, 2024Copper Contributor
Thanks much for helping HansVogelaar
I can share my test sheet with you. It is similar as the sheet I am working with.