Hi All,
I would like to do an Index/Match, but have it look for the first subtotal after a specific persons name.
So my column data looks like this:
John Doe
Blank
Blank
Blank
Subtotal
Jane Doe
Blank
Blank
Blank
Blank
Blank
Subtotal
Jason Doe
Blank
Blank
Subtotal
The number of blank rows after a persons name are dependent on how many line items associated with them, and will vary by person.
Is there a way I can alter the formula to find the first subtotal after Jane Doe, and then find the value in column R? Thanks so much.
=INDEX(R:R,MATCH("subtotal",B:B,0))
I would like to do an Index/Match, but have it look for the first subtotal after a specific persons name.
So my column data looks like this:
John Doe
Blank
Blank
Blank
Subtotal
Jane Doe
Blank
Blank
Blank
Blank
Blank
Subtotal
Jason Doe
Blank
Blank
Subtotal
The number of blank rows after a persons name are dependent on how many line items associated with them, and will vary by person.
Is there a way I can alter the formula to find the first subtotal after Jane Doe, and then find the value in column R? Thanks so much.
=INDEX(R:R,MATCH("subtotal",B:B,0))