crimsoneaglet
New Member
- Joined
- Nov 23, 2015
- Messages
- 6
My questions centers around whether there is a formula which will enable me to locate a specific text string anywhere in an excel worksheet and return the row number on which it is located.
Essentially at present, I am having to use the ctrl+F function to manually look up each text string, then input some corresponding figures which will be located on the row.
Example of the issue below:
Example reference
APN0000001
What I want the formula to do is:
--> Check if the reference above appears anywhere in a worksheet (may be part of a longer text strong within a cell (e.g. Greater Manchester APN0000001-FRT Create))
--> If it does tell me the row number upon which it appears
--> In an ideal world I'd also like another formula which indicates the number of times the above reference appears in a sheet as well, to ensure that if there is more than one row with the reference in I can combine the relevant figures.
I am keen to use a formula as opposed to vba if possible, if it's not then a vba solution would be greatly appreciated.
Thanks!
Essentially at present, I am having to use the ctrl+F function to manually look up each text string, then input some corresponding figures which will be located on the row.
Example of the issue below:
Example reference
APN0000001
What I want the formula to do is:
--> Check if the reference above appears anywhere in a worksheet (may be part of a longer text strong within a cell (e.g. Greater Manchester APN0000001-FRT Create))
--> If it does tell me the row number upon which it appears
--> In an ideal world I'd also like another formula which indicates the number of times the above reference appears in a sheet as well, to ensure that if there is more than one row with the reference in I can combine the relevant figures.
I am keen to use a formula as opposed to vba if possible, if it's not then a vba solution would be greatly appreciated.
Thanks!