{"id":10501,"date":"2022-07-07T08:25:37","date_gmt":"2022-07-07T08:25:37","guid":{"rendered":"https:\/\/officetuts.net\/excel\/?p=10501"},"modified":"2024-03-26T10:24:36","modified_gmt":"2024-03-26T10:24:36","slug":"add-horizontal-line-to-excel-chart","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/","title":{"rendered":"Add Horizontal Line to Excel Chart"},"content":{"rendered":"\n
Add-Horizontal-Line-to-Excel-Chart<\/a>Download File<\/a><\/div>\n\n\n\n

We have already explained the possibility of adding a vertical line to the Excel Bar Chart. However, there is also a possibility of going in a different direction- adding a horizontal line to an Excel chart<\/strong>.<\/p>\n\n\n\n

We will show how to do it in the example below.<\/p>\n\n\n\n

Add Horizontal Line to Clustered Column<\/h2>\n\n\n\n

To show the addition of the horizontal line<\/a>, we will use Clustered Column chart<\/strong>, as this chart is one of the most widely used ones.<\/p>\n\n\n\n

We will create it based on the data of NBA players and their points<\/strong> in one night of basketball:<\/p>\n\n\n\n

\"Text,<\/figure>\n\n\n\n

After doing that, we will resort to creating a simple Clustered Column chart<\/strong>, by selecting our range (A1:B11<\/strong>) and then going to Insert tab >> Charts<\/strong> and finding and choosing Clustered Column chart<\/strong> that is located under 2-D Columns<\/strong>:<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

It is noticeable that we get the preview of our chart, and when we choose it, it will be the same, as shown in the picture below:<\/p>\n\n\n\n

\"Chart,<\/figure>\n\n\n\n

Now we need to create an additional table with x and y values<\/strong> (horizontal and vertical ones<\/strong>). We want to present the average values horizontally, so our x values<\/strong> will be equal to the averages of all the points<\/strong> (two values), while the y values will be values 0 and 10<\/strong> (the number of players in our table):<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

We will then copy this data (range D2:E3<\/strong>), click on our chart, and go to the Home tab<\/strong>, where we will find Paste special option<\/strong>:<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

In a window that appears when we click on Paste Special<\/strong>, we will choose New series <\/strong>under Add cells as an <\/strong>option, Columns <\/strong>in Values (Y)<\/strong>, and click on Categories (X Labels) in First Column<\/strong>:<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

When we click OK<\/strong>, we will have the chart presented as follows:<\/p>\n\n\n\n

\"Chart,<\/figure>\n\n\n\n

To make these two orange lines horizontal<\/strong>, we need to change the type of our chart. We will do so by clicking on it, and then choosing the Change Chart Type <\/strong>option:<\/p>\n\n\n\n

\"Chart\n\nDescription<\/figure>\n\n\n\n

On the window that appears, we need to choose Combo chart<\/strong> at the end of it, and then choose Scatter with Straight Lines<\/strong> as a chart for Series2<\/strong>:<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

We can still see that the average line is not where it should be. For the full effect, we need to uncheck<\/strong> the Secondary Axis button<\/strong> for Series2<\/strong>:<\/p>\n\n\n\n

\"Graphical<\/figure>\n\n\n\n

As seen in the preview, we will have our data presented in the way we want. We will click OK<\/strong> and have our chart set:<\/p>\n\n\n\n

\"Chart,<\/figure>\n\n\n\n

As seen, we lost the title of our chart along the way. To add it again, we will simply click on the chart, then on the plus sign on the upper right side<\/strong>, and choose Chart Title<\/strong>:<\/p>\n\n\n\n

\"Chart,<\/figure>\n\n\n\n

Then we can insert whatever we want- Points<\/strong> in our case.<\/p>\n","protected":false},"excerpt":{"rendered":"

We have already explained the possibility of adding a vertical line to the Excel Bar Chart. However, there is also a possibility of…<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[170,190],"yoast_head":"\nAdd Horizontal Line to Excel Chart<\/title>\n<meta name=\"description\" content=\"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Horizontal Line to Excel Chart\" \/>\n<meta property=\"og:description\" content=\"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-07T08:25:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-26T10:24:36+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png\" \/>\n<meta name=\"author\" content=\"Harun Spahic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Harun Spahic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\"},\"author\":{\"name\":\"Harun Spahic\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\"},\"headline\":\"Add Horizontal Line to Excel Chart\",\"datePublished\":\"2022-07-07T08:25:37+00:00\",\"dateModified\":\"2024-03-26T10:24:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\"},\"wordCount\":464,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png\",\"keywords\":[\"file\",\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\",\"name\":\"Add Horizontal Line to Excel Chart\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png\",\"datePublished\":\"2022-07-07T08:25:37+00:00\",\"dateModified\":\"2024-03-26T10:24:36+00:00\",\"description\":\"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage\",\"url\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png\",\"contentUrl\":\"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Horizontal Line to Excel Chart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\",\"name\":\"Harun Spahic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"caption\":\"Harun Spahic\"},\"sameAs\":[\"http:\/\/human.bsru.ac.th\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add Horizontal Line to Excel Chart","description":"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/","og_locale":"en_US","og_type":"article","og_title":"Add Horizontal Line to Excel Chart","og_description":"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!","og_url":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/","article_published_time":"2022-07-07T08:25:37+00:00","article_modified_time":"2024-03-26T10:24:36+00:00","og_image":[{"url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png"}],"author":"Harun Spahic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Harun Spahic","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/"},"author":{"name":"Harun Spahic","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2"},"headline":"Add Horizontal Line to Excel Chart","datePublished":"2022-07-07T08:25:37+00:00","dateModified":"2024-03-26T10:24:36+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/"},"wordCount":464,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png","keywords":["file","pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/","url":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/","name":"Add Horizontal Line to Excel Chart","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage"},"thumbnailUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png","datePublished":"2022-07-07T08:25:37+00:00","dateModified":"2024-03-26T10:24:36+00:00","description":"Learn how to add a horizontal line to an Excel chart with this step-by-step guide. Download the Excel file and try it yourself!","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#primaryimage","url":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png","contentUrl":"http:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2022\/07\/text-table-description-automatically-generated-w.png"},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/add-horizontal-line-to-excel-chart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Add Horizontal Line to Excel Chart"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."},{"@type":"Person","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2","name":"Harun Spahic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","caption":"Harun Spahic"},"sameAs":["http:\/\/human.bsru.ac.th\/"]}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/10501"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=10501"}],"version-history":[{"count":3,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/10501\/revisions"}],"predecessor-version":[{"id":13881,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/10501\/revisions\/13881"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=10501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=10501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=10501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}