+ Reply to Thread
Results 1 to 3 of 3

finding a cell?

  1. #1
    Registered User
    Join Date
    06-23-2014
    Location
    england
    MS-Off Ver
    2013
    Posts
    78

    finding a cell?

    Hi All,

    Not sure if there is a formula to do this.

    Is there a way to search a a spreadsheet and return the column number that found cell is within?

    also is there a way to do the same for a row?

    also to make things more difficult but is preferred the search criteria would be begin within a wild care ie"*8624523"

    Hope someone can help

    Cheers

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: finding a cell?

    Normally I guess you would use the match function for this,

    e.g.
    =MATCH("*8624523",1:1,0)
    for column number
    and
    =MATCH("*8624523",A:A,0)
    for row number

    However, you can only use that on a single row/column.

    For multiple rows columns you would move to something like:
    =MAX(IF(A1:J2="8624523",COLUMN(A1:J2),0))
    as an array formula (confirm with ctrl+shift+enter) but that doesn't let you use wildcards, so then you be looking at:
    =MAX(IF(ISNUMBER(SEARCH("*8624523",A1:J2)),COLUMN(A1:Z2),0))
    as an array formula for the column and:
    =MAX(IF(ISNUMBER(SEARCH("*8624523",A1:J2)),ROW(A1:Z2),0))
    for the row.

  3. #3
    Registered User
    Join Date
    06-23-2014
    Location
    england
    MS-Off Ver
    2013
    Posts
    78

    Re: finding a cell?

    AMAZING IT WORKED!!!!

    Your a life saver

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding a Single name in Cell in a Cell with Multiple Names (words)
    By perm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2014, 12:29 AM
  2. Macro to change colour of cell based on finding a specific word in the cell
    By Shelby761 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2014, 09:46 AM
  3. Replies: 0
    Last Post: 09-26-2012, 02:02 PM
  4. Replies: 1
    Last Post: 01-11-2010, 12:31 PM
  5. Finding Cell Interior Colour of First Cell in Column
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2005, 11:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1