# 계층형 셀 인덱스 가져오기

## Content

리포트 시트는 셀 수식 분석 시 [컨텍스트](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/set-cell-context)를 사용합니다. 특정 셀이 컨텍스트를 포함하고 있다면, **Preview 모드**에서는 해당 셀의 확장 데이터를 **계층적 트리 구조**로 시각화하여 보여줍니다.
이때, **계층 내 셀의 값, 인덱스, 순위**를 구하기 위해 사용할 수 있는 수식이 있으며, 이를 **계층형 셀 인덱스**라고 부릅니다.
계층형 셀 인덱스 주요 기능:

* [값 가져오기](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/get-value)
* [인덱스 가져오기](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/get-index)
* [순위 가져오기](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/get-rank)

간편 계산을 위한 리포트 시트 전용 함수:

* [R.MOM](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/rmom)
* [R.YOY](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/ryoy)
* [R.PROPORTION](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/rproportion)
* [R.CUMULATIVE](/spreadjs/docs/v19/features/reportsheet/template-sheet-setting/reportsheet-formula-functions/get-hierarchical-cell-index/rcumulative)