久々に JavaでExcel を読込む apache POI を使う。 try(InputStream is = new FileInputStream("sample.xlsx"); XSSFWorkbook book = new XSSFWorkbook(is)){ XSSFSheet sheet = book.getSheetAt(0); XSSFRow row = sheet.getRow(2); XSSFCell cell = row.getCell(1);org.apache.poi.ss.usermodel.CellType は、NUMERIC で…