+ Reply to Thread
Results 1 to 3 of 3

INDEX/MATCH & VLOOKUP based on month number

  1. #1
    Registered User
    Join Date
    03-05-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2003
    Posts
    62

    INDEX/MATCH & VLOOKUP based on month number

    Hi Everyone

    I need to change the column from where values are picked up based on the month number, i.e. in month 2 use colum C, month 3 use column D etc. I can't use IF because there are more than 7 arguments but think I might be able to used a nested INDEX / MATCH and VLOOKUP formula and the VLOOKUP bit is where I'm struggling!

    The basic information comes from a report which is run each month. This information is then compared to the manual records held for this data.

    I have attached an example spreadsheet to make things clearer.

    Thanks
    Attached Files Attached Files
    Last edited by pixifaery; 07-08-2010 at 06:45 AM.

  2. #2
    Registered User
    Join Date
    03-05-2010
    Location
    Essex, England
    MS-Off Ver
    Excel 2003
    Posts
    62

    Re: INDEX/MATCH & VLOOKUP based on month number

    I've got it!

    I'm using the following formula in colum A =

    SUMPRODUCT((E9:P9)*($E$1:$P$1=1))

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: INDEX/MATCH & VLOOKUP based on month number

    in a8 put
    =HLOOKUP($B$1,$E$2:$P$14,ROW(A7),FALSE)
    and drag down
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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