0

I have the following table, I want to generate a bar chart where for each year I can see a single bar, including both Cash and Credit.

table

Today I only see this:

chart

Link here

4
  • pls share a copy of your sheet
    – user0
    Commented May 7, 2019 at 18:55
  • added above: docs.google.com/spreadsheets/d/…
    – gogasca
    Commented May 7, 2019 at 22:16
  • is this already solved ?
    – user0
    Commented May 7, 2019 at 22:30
  • Is opened to everyone, I would like to still see each bar divided with credit and cash
    – gogasca
    Commented May 7, 2019 at 22:58

1 Answer 1

1
  • you can either tick Aggregate column A:

    enter image description here


  • or use QUERY to group years and output table directly from QUERY:

    =QUERY({A2:C}, 
     "select Col1, sum(Col3) 
      where Col1 is not null 
      group by Col1 
      label sum(Col3)''", 0)

    enter image description here


  • or add the 2nd series and aggregate column A:

    0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.