AlInVegas2
New Member
- Joined
- Jun 19, 2019
- Messages
- 25
I have a list of records where the SearchName column is in alphabetical order. There are multiple records with the same name entered. I then have multiple tabs, one for each individual listed in the SearchName column. I use the following two formulas in each tab to get the rows for the first and last record for each individual. The issue is, when calculating the value on one tab, all the other tabs get updated to the same value. Is there a better command that won't change based on the users active cell location?
First Record =MATCH(RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))),SearchName,0)
Last Record =MATCH(RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))),SearchName,1)
EDIT:
I just updated the formulas using TextAfter(Cell("filename"),"]").... same result
First Record =MATCH(TEXTAFTER(CELL("filename"),"]"),SearchName,0)
Last Record =MATCH(TEXTAFTER(CELL("filename"),"]"),SearchName,1)
First Record =MATCH(RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))),SearchName,0)
Last Record =MATCH(RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename"))),SearchName,1)
EDIT:
I just updated the formulas using TextAfter(Cell("filename"),"]").... same result
First Record =MATCH(TEXTAFTER(CELL("filename"),"]"),SearchName,0)
Last Record =MATCH(TEXTAFTER(CELL("filename"),"]"),SearchName,1)
Last edited by a moderator: