Posts

Showing posts with the label GoogleSheet

Create a drop-down list in Google Sheets

Image
Hello. I will explain about making a drop-down list on the Google sheet. The drop-down list is used in various places. I'm going to explain it as an example that applies to the itinerary. There are two main ways to use the drop-down list. One of them is to make it using a legend, and one is to make it by entering the item yourself. 1. How to make using a legend The most commonly used method is to create a separate legend sheet, create a list, and connect it. ▲ I'm going to apply the date. As shown above, you can see that the drop-down list has been applied from Day 1 to Day 5 ▲ You make a sheet called legend and you refer to the item here and bring it up. How to make it Drop-down lists can be created using the Data > Data Verification feature. First, select the item with the date Select Data from the top menu bar. Select Check Data at the bottom. Cell range is the location of the cell to which the corresponding drop-down list applies. You can specif

구글 스프레드시트로 캘린더 이벤트 등록하기

Image
연초가 되어서 내년 계획를 잡던중 회원들의 생년월일을 구글 캘린더에 등록해야 할 일이 생겼습니다. 약 50명의 회원인데.. 일일이 구글 캘린더에 등록을 하려니 "내가 지금 뭘 하고 있는건가??" 라는 자괴감이 들어서 어떻게 편하게 등록할 방법이 없나 찾던중 구글의 쉬트에 작성한 내용을 한번에 구글 캘린더에 등록할 수 있는 방법을 찾아 냈습니다. 저는 약 2일에 걸쳐 프로그램을 해서 현재 그나마 정상적인 매크로 코딩을 완료하게 되었습니다. 저와 같은 필요를 느낀신 분들은 금방 사용할 수 있게 코드와 설명을 붙혀보도록 하겠습니다. 구글 캘린더 문서 준비 먼저 구글 시트의 생일이 등록되어 질 캘린더를 생성합니다. https://calendar.google.com 본인의 캘린더 중 등록을 원하는 캘린더 중 좌측의 ... 부분을 클릭합니다. 메뉴 중 설정 및 공유 메뉴를 선택합니다. 설정화면 중 캘린더 통합 > 캘린더 ID를 복사하여 준비합니다. 이제 이 캘린더에 생일 일정 이벤트가 등록될 예정입니다. 구글시트 문서 준비 이제 구글 시트 문서를 준비합니다. 문서는 성명, 생년월일, 내용, 캘린더 등록 항목이 나오면 됩니다. https://drive.google.com 이제 구글 시트의 메뉴항목에서 Apps Script 를 작성해야 합니다. 메뉴중 확장 프로그램 을 선택합니다. Apps Script 메뉴를 클릭합니다. 그러면 이렇게 광활한 코딩칸이 나오게 됩니다. ^^ Apps Script 작성하기 Apps Script는 거의 javascript와 동일한 방식으로 구글의 앱들을 API형태로 코딩을 하여 컨트롤을 할 수 있게 해줍니다. 옛날 앱이나 프로그램에 비한다면 엄청난 자유도가 주어지게 됩니다. 우상단에 ? 버튼을 누르면 관련 문서를 볼 수 있습니다. https://developers.google.com/apps-script/ 이곳에 아래의 코드를 입력합니다. 먼저 전체 코드입니다. f