1. Heat maps
Wykorzystanie formatowania warunkowego do tworzenia "heat maps". Może być przydatne do identyfikowania klastrów. http://excelgraphs.blogspot.com/2013/03/heat-map-plot-in-excel-using.html
A oto moja wersja (na G_Drive):
- Za pomocą SUMPRODUCT zliczam ilość wystąpień dla poszczególnych zakresów cen i rabatów.
- Za pomocą prostego makra kopiuję z osi wykresu zakresy cen i rabatów dla klikniętej komórki wykresu i wstawiam do formuły wyszukującej rekordy, których dotyczy kliknięta komórka.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim CheckRange As Range
Dim r As Integer
Dim c As Integer
'Set the plot's range
Set CheckRange = Range(Cells(5, 6), Cells(16, 13))
'If I click in the plot's range
If Not Intersect(Target, CheckRange) Is Nothing Then
'Detect row and column where I clicked
With ActiveCell
r = .Row
c = .Column
End With
'Copy from respective axis to cells with search conditions.
'min
Cells(21, 8).Value = Cells(r + 1, 5).Value
'max
Cells(22, 8).Value = Cells(r, 5).Value
'disc min
Cells(23, 8).Value = Cells(17, c - 1).Value
'disc max
Cells(24, 8).Value = Cells(17, c).Value
End If
End Sub
- Jako uzupełnienie polecam stronę http://fiveminutelessons.com/learn-microsoft-excel/use-index-lookup-multiple-values-list opisującą formułę, która pozwala wyszukać kilka recordów spełniających określone kryteria.
2. "rysowanie drzew" :-) z wykorzystaniem pakietu stat. R i dodatku RExcel http://excelgraphs.blogspot.com/2013/04/plotting-dendogram-of-cluster-analysis.html
Scatterplot matrix: http://excelgraphs.blogspot.com/2013/04/scatter-plot-matrix-in-excel-using.html
Opis instalacji RExcel dla opornych: http://excelgraphs.blogspot.com/2013/04/extend-your-excel-graphics-capabilities.html
Brak komentarzy:
Prześlij komentarz