+ Reply to Thread
Results 1 to 2 of 2

need explanation for attached chain formula

  1. #1
    Registered User
    Join Date
    03-21-2009
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    60

    need explanation for attached chain formula

    I am unable understand the following code. Please explain me about this chain formula and explain about the purpose these many quatation marks.

    str = Sheets("Sample1").Range("B" & i).Value
    Sheets("Sample3").Range("C" & i).Value = "=IF(ISERROR(FIND(" & """-""" & "," & """" & _
    str & """" & ",FIND(" & """-""" & "," & """" & str & """" & ",FIND(" & """-""" & "," & """" & _
    str & """" & ",1)+1)+1)) = TRUE,"""", MID(" & """" & str & """" & ",(FIND(" & """-""" & "," & """" & _
    str & """" & " ,FIND(" & """-""" & "," & """" & str & """" & ",1)+1))+1,1))"

    Thanks&Regards
    Ramesh

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: need explanation for attached chain formula

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

+ 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