+ Reply to Thread
Results 1 to 4 of 4

"indirect" and "date" formula

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Ottawa
    MS-Off Ver
    Excel 2007
    Posts
    59

    "indirect" and "date" formula

    Hello excel experts,
    I am trying to create a dashboard and I saw a post on a website that talks about tweetboards. It is from someone named Fernando, and below is the original post.

    Please Login or Register  to view this content.
    It's a really neat idea, but there are 2 formulas that have me baffled.

    1.
    Please Login or Register  to view this content.
    This formula is located in the 'company data' sheet, cell A17

    2.
    Please Login or Register  to view this content.
    This formula is located in the 'company data' sheet, cell B18

    I know vaguely what they do, but I'd appreciate if someone could explain it to me.

    Thanks,
    Amar.

    P.S - Thanks to Fernando and Chandoo.org for making this spreadsheet available.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-19-2013
    Location
    Cambridge, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: "indirect" and "date" formula

    The second formula (in cell B18) essentially sums all the data in row 2 column 2 to row 9 column 2.

    It could be more simply written as:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Where the false tells the indirect function that the reference text ("R2C2:R9C2") is to be interpreted as an R1C1-style reference.

    The other parts tell the formula which row and columns to look in.

    I.e. using the column() function in column B returns 2 and in column C returns 3 etc.

    The MATCH($A16,$A$2:$A$13,1) part of the formula searches for the month (A16) in A2:A13 and returns the position of the matched value within lookup_array (not the value itself). In this example its position in the array is 8 so they add 1 to give the row that the value is in - row 9.

    The &'s simply join up the text strings

    So putting it all together you have:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: "indirect" and "date" formula

    Hi -

    The first formula simply backs up one month from whatever month you select on the first page to generate the comparative statistics (Like where it says "This month we made $... Last month we made $..." The formula has to be just a little complicated because when you back a date up one month, you have to check if you are in January, in which case you need to back up to December AND subtract a year as well. That's all it really does.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    Ottawa
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: "indirect" and "date" formula

    Thanks for helping me out guys. Appreciate it.

    Amar.

+ 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