+ Reply to Thread
Results 1 to 2 of 2

need breakdown each step of macro for me

  1. #1
    Registered User
    Join Date
    07-05-2011
    Location
    Cincinnati, OH
    MS-Off Ver
    Mac Excell 2011
    Posts
    10

    need breakdown each step of macro for me

    Hello,
    I have these two macro's and would like to know what each step does so I can modify them to work on other sheets. Is there anyone out there who can do this for me?
    =IFERROR(INDEX(CHARTASSIGN!$C$3:$C$30,SMALL(IF(LEFT(CHARTASSIGN!$C$3:$C$30,3)<>"DR.",0,100)+IF(CHARTASSIGN!$C$3:$C$30>"",0,100)+ROW(CHARTASSIGN!$S$3:$S$30)-2,ROWS(CHARTASSIGN!$C$3:$C3)),0),"")

    =IFERROR(INDEX(sheet2!$D$4:$D$74,SMALL(IF(LEFT(sheet2!$D$4:$D$74,3)<>"7,7mtg",0,100)+IF(sheet2!$D$4:$D$74>"",0,100)+ROW(sheet2!$S$3:$S$30)-2,ROWS(sheet2!$D$D4$D4)),0),"")

    they are both entered with the CNTL SHFT ENter command to get the correct brackets. When coping the brackets do not follow.
    Thank you
    John

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: need breakdown each step of macro for me

    These are not macros, they are formulae. It is very difficult to tell what they do without the context of the sheet. The curly brackets you refer to are what is refered to as an Array Formula. This is when a single formula exists in more than one cell, because the output requires more than one cell to display the result. To edit this formula you need to highlight the entire range that has the curly brackets, press F2 to edit the formula, then press Ctrl-Shift-Enter to save the changes.

    The best way to work out what they do is to learn what each of the functions do (Index, IF, etc) and then work you way from the inside out, looking at the sheet and seeing what the results are.
    Last edited by Mallycat; 05-26-2013 at 12:43 AM.
    My approach to providing help is to help you to help yourself. So my answers won't always solve your problem, but hopefully you can learn enough to solve the problem yourself and be more self sufficient for the experience.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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