+ Reply to Thread
Results 1 to 4 of 4

Modification of a IF ISNUMBER SEARCH formula

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    29

    Modification of a IF ISNUMBER SEARCH formula

    I'm currently using the following formula in Excel...

    =IF(ISNUMBER(SEARCH("16 x 16",Sheet1!K2)),"Square", "Not Square")

    I want to be able to copy this down thousands of rows but this results in 1 being added to K2 above each row whereas I need it to stay the same for an additional 10 rows before increasing to K3, and then a further 10 rows before increasing to K4 (etc).

    Thanks in advance.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: Modification of a IF ISNUMBER SEARCH formula

    Try using an INDEX function so that you only increment every 10 rows, e.g. if first formula is in F2 (change red part of formula as required) use this version in that cell and copied down

    =IF(ISNUMBER(SEARCH("16 x 16",INDEX(Sheet1!K$2:K$1000,INT((ROWS(F$2:F2)-1)/10)+1))),"Square", "Not Square")
    Audere est facere

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Modification of a IF ISNUMBER SEARCH formula

    Pl see the attached file with Formula.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-13-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Modification of a IF ISNUMBER SEARCH formula

    Excellent, thanks very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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