admin管理员组文章数量:1415636
I am pulling data from a database containing Reservations for my property.
A limitation of that database is that if a guest has multiple units of the same room number, it lumps all of the "sub unit" in a single field.
I would like to have a formula that will quickly search for a specific "Room"/"Sub Unit" combination.
Any advice would be appreciated. Examples:
Data:
Query:
I have found that XLOOKUP does not like searching an array that spans multiple rows and is infinite.
This prompted me to try to separate the individual Sub Units from each line, but this adds an enormous workload since I have well over 2000 units to work with.
Is there a way to search for {6045} {B} in the Data sheet, returning that RES that corresponds with {6045} {AB}?
Thank you.
I am pulling data from a database containing Reservations for my property.
A limitation of that database is that if a guest has multiple units of the same room number, it lumps all of the "sub unit" in a single field.
I would like to have a formula that will quickly search for a specific "Room"/"Sub Unit" combination.
Any advice would be appreciated. Examples:
Data:
Query:
I have found that XLOOKUP does not like searching an array that spans multiple rows and is infinite.
This prompted me to try to separate the individual Sub Units from each line, but this adds an enormous workload since I have well over 2000 units to work with.
Is there a way to search for {6045} {B} in the Data sheet, returning that RES that corresponds with {6045} {AB}?
Thank you.
Share Improve this question edited Feb 4 at 20:41 z.. 13.3k2 gold badges9 silver badges20 bronze badges asked Feb 4 at 18:00 John AndersonJohn Anderson 133 bronze badges1 Answer
Reset to default 0Use FILTER:
=FILTER(DataSheetName!A:A,(DataSheetName!C:C = B2)*(ISNUMBER(SEARCH(C2,DataSheetName!D:D))))
本文标签: excelFormula to search for specific Chars within a cellStack Overflow
版权声明:本文标题:excel - Formula to search for specific Chars within a cell - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745241444a2649351.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论