How to get VStack to exclude data based on word

Deborah Davis 0 Reputation points
2025-10-30T21:29:51.0266667+00:00

This is my first time using VStack and it's great, but I need it to completely ignore all rows when column A contains the word "Exclude". Is that possible? If it matters, the Header row name is "Address Slicer" and the word "Exclude" appears in Table 3, but not in Table 1.

=VSTACK(Table1[#All],Table3)

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ashish Mathur 100.4K Reputation points Volunteer Moderator
    2025-10-30T22:54:12.84+00:00

    Hi,

    Try this

    =vstack(A2:B100,filter(C2:D75,C2:C75<>"Exclude"))

    Hope this helps.

    0 comments No comments

  2. Deborah Davis 0 Reputation points
    2025-10-31T16:44:47.73+00:00

    Thanks, but I'm not following the suggestion. I need the formula to pull in tables 1 & 3 (not a range of cells) and leave out rows in column A that have the word "Exclude"


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.