Kartendiagramme - Excel-Tipps

Im Jahr 2017 hat Excel einen neuen Diagrammtyp namens Kartendiagramm eingeführt. Diese Karten schattieren jedes Land basierend auf einem Wert. Schattieren Sie außerdem jedes Bundesland, jede Provinz, jeden Landkreis, jede Postleitzahl usw.

Schau Video

  • November 2016 bringt eine neue Map Chart-Funktion in Office 365
  • Diese Funktion wird als Office 365 Exclusive vermarktet
  • Anders als Power Map - weil es in Ihr Arbeitsblatt eingebettet werden kann
  • Nur eine Formkarte! Keine Punktkarte…
  • Die Daten können nach Land, Bundesland, Landkreis und Postleitzahl aufgezeichnet werden
  • Verwenden Sie in anderen Ländern "Regionen" anstelle von "Region".
  • So ändern Sie die Farbe für Wertediagramme
  • Bearbeiten Sie für Kategoriediagramme die Legendeneinträge, um die Farbe zu ändern.
  • So ändern Sie das Etikett
  • So ändern Sie die Projektion
  • Wertekarten versus Kategoriekarten
  • Wie bei den anderen neuen Ivy Charts kann der Diagrammtitel nicht aus einer Zelle stammen
  • Eine Karte kann nicht direkt auf einer Pivot-Tabelle basieren - verwenden Sie VLOOKUP
  • TEXTJOIN-Funktion

Video-Transkript

Lernen Sie Excel aus Podcast, Episode 2061: Kartendiagramme in Excel

Hey, willkommen zurück im Netcast, ich bin Bill Jelen. Es ist der 23. November, und wenn Sie über Office 365 verfügen, erhalten Sie Ende dieses Monats auf der Registerkarte Einfügen eine großartige neue Funktion, die als Kartendiagramm oder gefülltes Kartendiagramm bezeichnet wird. Cool was?

Hier ist das Problem. Wenn Sie ein Kunde von Microsoft sind und ihnen die 400 US-Dollar für den Kauf einer eigenständigen Office-DVD oder eines Streams gegeben haben, oder wenn Sie wissen, dass Ihr Volumenlizenz-Kunde leider mit Ihnen Krieg führt, oder? Sie scheinen die 400 Dollar, die Sie ihnen gegeben haben, nicht zu schätzen, und diese Funktion ist in Ihrer Office-Version nicht enthalten. Sie versuchen, alle dazu zu bringen, auf Office 365 umzusteigen. Und Sie sehen, sie haben diese großartige neue Seite von Office 365 Exclusive. Ich bin gespannt, wenn ich das höre. Okay, das heißt, wenn Sie ihnen nicht 10 US-Dollar im Monat geben, werden Sie nicht die neuen Funktionen erhalten, die ich für enttäuschend halte.

Okay, aber nehmen wir an, Sie arbeiten mit Office 365 und haben diese Funktion. Diese Funktion erhalten Sie hier Ende November. Es funktioniert auf verschiedenen Ebenen. Hier habe ich also Daten nach Land und ich werde eine gefüllte Karte auswählen, okay? BAM! Da ist es. Wie cool ist das. Für jedes Land, das ich habe, haben wir hier die verschiedenen Farben und es gibt einige Anpassungen, die wir nicht vornehmen können. Natürlich bieten sie hier die verschiedenen Stile, verschiedene Hintergrundfarben, aber wir haben mehr als das. Nun, dies ist zufällig eine Orange-Produktion, also kann ich vielleicht die orange Farbe wählen und das funktioniert großartig. Wenn wir jedoch hierher zur Registerkarte Format zurückkehren und zum Diagrammbereich gehen und Serienorangen und dann Formatauswahl auswählen, haben wir hier jetzt viele Möglichkeiten. Sie bieten verschiedene Kartenprojektionen an:die altmodische Mercator-Projektion, die Miller-Projektion und die Robinson-Projektion. So können Sie wählen, was Sie wollen. Natürlich sind Robinson und Miller besser als die alte Mercator-Projektion. Der Kartenbereich ist Automatisch oder Nur Regionen mit Daten. Das ist in dieser Tabelle irgendwie interessant. Ich würde Nur Regionen mit Daten wählen, wir bekommen nur die Länder, die Datenpunkte haben, in Ordnung. Und ich bin mir nicht sicher, ob das hier angemessen ist, aber später könnte es sein. Und dann Kartenetiketten: Nur am besten passen oder Alle anzeigen.Ich würde Nur Regionen mit Daten wählen, wir bekommen nur die Länder, die Datenpunkte haben, in Ordnung. Und ich bin mir nicht sicher, ob das hier angemessen ist, aber später könnte es sein. Und dann Kartenetiketten: Nur am besten passen oder Alle anzeigen.Ich würde Nur Regionen mit Daten wählen, wir bekommen nur die Länder, die Datenpunkte haben, in Ordnung. Und ich bin mir nicht sicher, ob das hier angemessen ist, aber später könnte es sein. Und dann Kartenetiketten: Nur am besten passen oder Alle anzeigen.

Fügen wir also diese Kartenbeschriftungen hinzu und gehen Sie zu Weitere Datenbeschriftungsoptionen. Ja, sehen Sie. Das scheint mir ein Fehler zu sein. Um die Kartenbeschriftungen tatsächlich formatieren zu können, müssen Sie die Kartenbeschriftungen und dann die Formatauswahl auswählen. Anschließend können Sie steuern, ob der Wert oder der Kategoriename angezeigt wird. In einigen Fällen möchte ich den Namen des Landes sehen, was meiner Meinung nach sinnvoller ist. Okay, und dann kehren wir zu unserer Serie zurück. Okay, jetzt erhalten wir die Namen der Länder und können wählen, ob die Kartenbeschriftungen nur am besten passen oder Alle anzeigen. Und wenn wir dann zu Nur Regionen mit Daten gehen, wissen Sie, könnte dies tatsächlich Sinn machen, nachdem wir die verschiedenen Regionen mit Daten hinzugefügt haben. Nicht sicher.

Okay, das ist also auf Länderebene. Wir können Dinge auch nach Staaten tun. Also werden wir eine gefüllte Karte einfügen, in Ordnung. Und dort bekommen die höchsten Zahlen die dunkelste Farbe, die niedrigsten Zahlen die hellste Farbe.

Okay, jetzt versuchen wir es noch einmal mit dem Land. Also gehen wir zu: Formatieren, wählen Sie die Datenreihe, Formatieren Sie diese Auswahl. Wir wollen also nur die Gründe mit Daten sehen, die für uns nur auf diesen Teil des Landes zoomen. Serienfarbe können wir die Farben auswählen, die hier verwendet werden. In diesem Fall denke ich, dass ich so mit einem Dunkelgrün bis Hellgrün gehen werde. Oder vielleicht möchten Sie von einem dunklen Grün zu einem wirklich dunklen Grün wechseln, in Ordnung, Ihre Wahl dort. Oder sogar von einem wirklich hellen Grün zu einem wirklich dunklen Grün. Und es gibt auch andere Dinge, mit denen ich experimentiert habe, aber ich habe hier wirklich nichts gefunden, was ich mit drei unterschiedlichen Farben mag. So weit, Fan der Sequential 2-Farbe so. Versuchen wir noch einmal, Datenbeschriftungen hinzuzufügen.Standardmäßig werden mir die Werte angezeigt, und ich bin nicht sicher, ob ich die Werte sehen möchte, wie ich es vielleicht nicht tue. Ich bin schlecht in der Geographie, ich muss die Staatsnamen kennen. Sie müssen also die Datenbeschriftungen auswählen und dann zur Formatauswahl gehen. Dann können Sie sagen, dass ich den Kategorienamen sehen möchte, aber nicht den Wert. Kategoriename, aber nicht der Wert. Also versuchen Ohio, West Virginia, Virginia, North Carolina, South Carolina, Georgia und Florida, sie dort unterzubringen, so gut es geht.Ohio, West Virginia, Virginia, North Carolina, South Carolina, Georgia und Florida versuchen, sie dort unterzubringen, so gut es geht.Ohio, West Virginia, Virginia, North Carolina, South Carolina, Georgia und Florida versuchen, sie dort unterzubringen, so gut es geht.

Alright, it also goes down to the county level, so here I have all the counties in Florida and their population, we’ll take a look at that. Insert, Map, choose a Filled Map. Alright, and so now based on population, we're getting our various values. The other one that I kind of like is, you know, I'm not always a fan of this low-to-high kind of thing here, but creating categories. Alright, so I take the 60, some counties from Florida and I want to show them based on, you know, their water. They’re on the Atlantic Ocean, Gulf Coast or they're landlocked. So, Insert a Field Map here, alright. You can see all these counties in blue touched the Atlantic Ocean, counties in orange are the Gulf or the North Gulf, and then the counties in gray have essentially no access to big water.

Alright now, again here, if we want to see the county names: first, you have to add the Data Labels and for some reason, the + sign is missing here. I've no idea why. Maybe I've - I don't know, who knows. Alright, so we'll come up here and Add Chart Element, Data Labels, and I want to Show the data labels, and then go to Data Labels, More Data Label Options where nothing appears to offer what I'm looking for. So we have to click on the Data Labels, that selection, and then go to Format, Format the Selection, and then here’s where they've hidden the very same. So we'll take the Value out, put the Category name in and if we make the chart larger we’ll actually be able to see the individual counties like that.

Hey, if you need to change the colors of a category chart or any of the new IV charts, beautiful tip here from John Pelletier. He gave me this heads up when I complained that it was so hard to change it via the page layout. Way to do is click on the Legend, that selects all the legends, then click on one legend, and then Ctrl+1 to format that and then we can change the fill color of that legend entry which will change everything. So maybe we go to a light blue there for the Gulf, open this up, go to More Colors, change a different- to a different color there, click OK and so on, by formatting the legend. Thanks to John for that awesome tip.

By zip code, yep, they go to the zip code here. So we have all the zip codes in Brevard County, Florida. Insert a Map, Filled map. Alright, now this is one definitely where you want to look at just the items with data because they're showing us all of Florida and you can barely see what's going on there. So, we're going to go to the Format tab, and Series Value, Format the Selection, and then Map Area: Only the regions with data. And that'll zoom in on Brevard County like that. Alright, so suppose I have a map created from a pivot table. Here under PivotChart you'll see that they have a whole bunch of different types of charts but you can't create this type of chart with data inside a pivot table. Okay, so what we're going to do instead, we're going to do instead is create something that is not a pivot table. So here's the pivot table that's going to have the data for the chart and I even have a slicer here so I can choose which type of citrus production to use. And then, off on the left-hand side here, I have the county, the state and then a VLOOKUP into the pivot table to return the data. Notice I used IFNA there to return as 0 in case I happen to choose a crop that doesn't have values for one particular county here or something like that.

Alright, and then also out here on the right-hand side, to get this label to work, I created a second pivot table and hook this pivot table up to the slicers. And this pivot table just has the crop name and you'll see that as we choose - So if I would choose Grapefruit and Oranges, I get two rows there. Another Office 365 exclusive is the TEXTJOIN function. TEXTJOIN separated by a comma space, Ignore blank value is True and just a large area here to grab all of those items. I'm going to try and use that as a title in my map chart. Alright, so we'll create a map chart from this data over here, so Insert, choose Maps, alright. And we now have citrus production by county. And I want to have this react to those slicers there so it will be a cool chart.

So, a couple of things we want to do. We want to change the colors. Of course, I want to have, at least choose the orange-ish one, like that. Okay, do i want to show the whole state? Ahh, I'm not sure. Let's see what it looks like with just the counties that are selected. So if we go to Series Grapefruits and Format Selection, we’ll change this to Only regions with data which will kind of zoom in a little bit. Alright, and then as I choose from the drop-down here, if I choose just White Grapefruit we can see that these two counties are the leading counties there. Tangerines, Honey Tangerines, Tangelos, All citrus, alright. So, this is cool.

But now I want to make this chart title react and grab the value from the cell. Alright, what if we want to get this chart title to come from a cell in the worksheet? Right, that would be beautiful. All Excel charts have been able to do this for decades, but IV charts tell me not to do it. It's really, really frustrating. So my work around here is replace this chart title with spaces. Don't get rid of the chart title, we need to keep it there to keep the plot area. See, we are now allowed to resize this plot area so I need to keep that fake chart title up there. And then with the chart selected: Insert, go to Shapes, and the text box. Draw a text box there above where the title should be or where the title is, the blank title is, click that text box and then with the text box selected, equal, and click on the formula cell like that, and you'll actually get a title that will now update along with the chart. Frustrating, we have to go to that extra bit but that's the way it is.

Alright, well there you have it. November 2016 brings a new Map Chart feature exclusive to Office 365. If you’re a customer, good paying customer who bought something other than Office 365, so sorry for you. This is different than Power Map because it can be embedded right in your worksheet. It's only a shape map, not points, can't do points. Just shapes, has to be outline shapes, can be at the county level, state, country, state, county, zip code. In other countries, we've learned this: if you put the word Region, if you don't have like Counties, if you have Region, you have to say Regions instead of Region or it doesn't work.

Ich habe dir gezeigt, wie man die Farbe ändert, wie man die Etiketten ändert. Sie müssen auf das Etikett selbst klicken und dann auf Formatauswahl klicken, eine Serie auswählen, die Projektion ändern und sich die Kategoriekarten ansehen, in denen wir die Farben der einzelnen Bezirke anstelle der gleitenden Skala wie folgt ändern. Und dann kann der Diagrammtitel wie bei anderen neuen IV-Diagrammen nicht aus einer Zelle stammen.

Okay, hey, ich möchte Ihnen dafür danken, dass Sie vorbeischauen. Wir sehen uns beim nächsten Mal für einen weiteren Netcast von.

Download-Datei

Laden Sie die Beispieldatei hier herunter: Podcast2061.xlsm

Interessante Beiträge...