SerenityNetworks
Board Regular
- Joined
- Aug 13, 2009
- Messages
- 131
- Office Version
- 365
- Platform
- Windows
I need to return the latest/last information, by date, from Sheet 2 into Sheet 1. The following mini-sheet shows in Sheet 1, Columns C and D the information that needs to be returned from Sheet 2, Columns H and G. The "Name" column is the search criteria. The Name may appear more than once in each worksheet, but I only want the latest/last information returned from Sheet 2. I'm at a loss as to how to do this, since the data order will change in both sheets. I can't count on the information being sorted in ascending or descending order in either of the sheets. I could use a macro to sort the data then use a lookup or match function to return the data, but I'd rather do it with a formula than utilizing macros. How is this doable?
Thanks in advance,
Andrew
Thanks in advance,
Andrew
Book1 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Sheet 1 | Sheet 2 | ||||||||
2 | Class | Name | Latest Yes/No value from Sheet 2 | Corresponding Date from Sheet 2 | Name | Date | Yes/No | |||
3 | 1 | Bob | Yes | 03/01/2023 | Bob | 01/01/2023 | No | |||
4 | 5 | Bob | Yes | 03/01/2023 | Jill | 01/01/2023 | Yes | |||
5 | 3 | Jill | No | 03/01/2023 | Bob | 03/01/2023 | Yes | |||
6 | 1 | Jill | No | 03/01/2023 | Jill | 03/01/2023 | No | |||
7 | 2 | Wanda | No | 02/01/2023 | Ziggy | 02/15/2023 | Yes | |||
8 | 3 | Bob | Yes | 03/01/2023 | Wanda | 02/01/2023 | No | |||
9 | 4 | Ziggy | Yes | 02/15/2023 | Bob | 02/10/2023 | No | |||
10 | 5 | Jill | No | 03/01/2023 | Jill | 02/10/2023 | No | |||
Sheet1 |