Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for a string or integer, and display the coordinates of all cells that contain the string or integer #277

Closed
tomcharter365 opened this issue Oct 22, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@tomcharter365
Copy link

Summary

There should be a function to search a xlsx document for a specific string or integer, and then print out the coordinates (eg: A1, B5) of any cell that match the search criteria.

Search could be similar to how AutoFilter can filter for expressions.

Example

Example file attached
example.xlsx

Reason Feature will be useful

This search feature would be very useful in looking for a string such as apple and then passing the cell coordinates (B6) into a variable so that another function in the script can process or validate data programmatically.

As of right now, there seems to be no way to do this unless the cell coordinates are known.

@xuri xuri added the enhancement New feature or request label Oct 23, 2018
peng added a commit to peng/excelize that referenced this issue Oct 27, 2018
peng added a commit to peng/excelize that referenced this issue Oct 27, 2018
xuri added a commit that referenced this issue Oct 27, 2018
New function: `SearchSheet()`, relate issue #277
xuri added a commit that referenced this issue Oct 28, 2018
New function: `SearchSheet()`, relate issue #277
@xuri xuri closed this as completed in 30122d0 Oct 30, 2018
nullfy pushed a commit to nullfy/excelize that referenced this issue Oct 23, 2020
resolve qax-os#277 Add testing case for the function `SearchSheet()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants