Graph values from 2d table where series switch places

avensis1

New Member
Joined
Feb 24, 2017
Messages
3
Hi

I have a problem that I'm not able to overcome. I have the data as shown below (dataset much larger, but follows the logic below).

- Cells A1:C1 are merged, so are D1:F1 and so on
- I want to show a graph with Months on the X-axis, and Market Share on the Y-axis, and then different lines for the different Companies (Comp A through Comp E)

I have tried to pull out the data with INDEX-MATCH to a separate sheet, where Comp A's market shares are shown on one row, and Comp B's market share in next row and so on, but I cannot get it working to find the corresponding month with the merged cells.

Any tips on how to do this?

Thanks!

ABCDEFGHI
1January2018February2018March2018
2Company NameValueMarket ShareCompany NameValueMarket ShareCompany NameValueMarket Share
3Comp A1000,29Comp C1400,3Comp E750,16
4Comp B800,23Comp A1050,23Comp B650,14
5Comp C750,22Comp D950,21Comp A600,13
6Comp D600,17Comp B800,17Comp D400,09
7Comp E300,09Comp E400,09Comp C100,02

<tbody>
</tbody>
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top