Sparkline Progress Bar Chart in Google Sheets

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 19

  • @TheWinghochui
    @TheWinghochui 7 месяцев назад +1

    Thanks for your sharing!

  • @ArjanGroenenboom
    @ArjanGroenenboom 18 дней назад +2

    For the sparklines with 2 colours, there is no need for the 2nd column. You can input the range as an array (within curly brackets), so the formula would look like this:
    =SPARKLINE( { A14 ; 10 - A14 } ; {"charttype" ; "bar" ; ....... etc } )

    • @spreadsheetwise
      @spreadsheetwise  18 дней назад +1

      Hi @ArjanGroenenboom, You're absolutely right, thanks for that piece of information. 👍🏻
      The final formula would look like this if anyone is interested:
      =SPARKLINE({ A14 ; 10 - A14 },{"charttype","bar";"max",10;"color1","31c257";"color2","ffd966"})
      What's happening here is that part { A14 ; 10 - A14 } is an array literal, which is used to provide two data points for the sparkline chart.
      A14 takes the value from cell A14.
      10 - A14 calculates the difference between 10 and the value of A14. This forms a complementary data point to create a two-part bar chart. The number 10 could be any number you wish, but it's essentially the maximum number for the chart.
      The semicolon (;) separates the values vertically, meaning the two data points will be stacked in the bar chart.
      It's certainly a neat way of dealing with a range of numbers.

  • @budaknakal3296
    @budaknakal3296 Месяц назад +1

    Thank you...i'm really appriciate it

  • @damnpirate1259
    @damnpirate1259 Год назад +1

    great and helpful videos, thank you

  • @ChrissiesPurpleLibrary
    @ChrissiesPurpleLibrary 2 месяца назад

    thank you!

  • @robinfox4440
    @robinfox4440 5 месяцев назад +1

    Is it possible to reverse the progress bar, so that it's like an HP bar that goes down? The idea I have is say I have a budget of $100, the more I use of that $100, the more the bar goes down, rather than up.

    • @spreadsheetwise
      @spreadsheetwise  5 месяцев назад

      Sure, you would simply reverse the values in the data range. You might want to check this post out too: www.spreadsheetwise.com/post/sparklines-in-google-sheets-a-simple-guide-to-rich-data-visualisation

  • @matzeleube71
    @matzeleube71 Год назад

    very nice man, helps me a lot. Is there a possible way to show the graph in the same cell where the data stands? Like the "2" in this case is right in the middle of the bar?

    • @spreadsheetwise
      @spreadsheetwise  Год назад

      I'm afraid not, you would have to use a traditional chart to superimpose a value over the chart

  • @potachip1305
    @potachip1305 Год назад

    Is there a way to include 4 values? I want to create a stacked bar graph within a cell. Each value has a different color.

    • @spreadsheetwise
      @spreadsheetwise  Год назад

      This isn't possible with SPARKLINES, according to Google's official help page here support.google.com/docs/answer/3093289?hl=e It is possible using the REPT and CHAR functions in Google Sheets. I have a video on this method here ruclips.net/video/WurBzQ7HZjk/видео.html but it would be slightly different to these examples. I'll post another video to explain how to achieve what you need 👍

    • @spreadsheetwise
      @spreadsheetwise  Год назад

      Hey Pota Chip, I hope this video helps you out 😉 ruclips.net/video/XASFD73PcRE/видео.html

  • @alík_cimrmaan
    @alík_cimrmaan Год назад +1

    niice thanks man 🤗