1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Lookup data

Discussion in 'Ask an Excel Question' started by Steve Drew, Jul 15, 2017.

  1. Steve Drew

    Steve Drew New Member

    Messages:
    3
    Hi
    I am trying to look up data from a column in another sheet based on date. For my P&L I need to see what expenditure there was in a particular month for each category. Is this possible? I have tried using pivot tables, but it got very messy.
    Cheers

    Attached Files:

    • P&L.xls
      File size:
      17 KB
      Views:
      8
  2. vletm

    vletm Well-Known Member

    Messages:
    2,763
    Is this too messy?
    Screen Shot 2017-07-15 at 21.04.19.png

    Attached Files:

    • P&L.xls
      File size:
      27 KB
      Views:
      3
    Steve Drew likes this.
  3. AVK

    AVK Active Member

    Messages:
    195
    In "C12"
    =SUMPRODUCT((Sheet1!$B$3:$B$10)*(Sheet1!$C$3:$C$10=Sheet2!$A12)*(MONTH(Sheet1!$A$3:$A$10)=MONTH(Sheet2!C$2&0)))
    Steve Drew likes this.
  4. Steve Drew

    Steve Drew New Member

    Messages:
    3
    Works perfectly and I don't have to change my format for the accountant. Thank you sooo much.
  5. Steve Drew

    Steve Drew New Member

    Messages:
    3
    Looks loads better than mine. Not sure what I was doing wrong. Cheers
  6. vletm

    vletm Well-Known Member

    Messages:
    2,763
    Steve Drew
    You could compare ..
    then no need to use formulas.

Share This Page