ChristineJ
Well-known Member
- Joined
- May 18, 2009
- Messages
- 761
- Office Version
- 365
- Platform
- Windows
Column B has a list of names and column C has a corresponding amount for each name. The length of this list could vary.
Cell F3 contains one of the names, and below that a list of numbers. In this case there are four numbers typed in, but there could be more or fewer.
I'd like to use a VBA macro to return either "Yes" or "No" in cell F1. "Yes" should be returned if the number of amounts, and the values of those amounts, for Tom in column C match the amounts for Tom in column F, in the same order.
In other words, if column B were filtered for Tom, the list of amounts for Tom would be exactly the same as the list beginning in cell F4.
Is there a way to do this with VBA? Thanks!
Cell F3 contains one of the names, and below that a list of numbers. In this case there are four numbers typed in, but there could be more or fewer.
I'd like to use a VBA macro to return either "Yes" or "No" in cell F1. "Yes" should be returned if the number of amounts, and the values of those amounts, for Tom in column C match the amounts for Tom in column F, in the same order.
In other words, if column B were filtered for Tom, the list of amounts for Tom would be exactly the same as the list beginning in cell F4.
Is there a way to do this with VBA? Thanks!