当前位置:首页教育技巧excel技巧excel表格单元

问卷星怎么转入excel表格

2024-07-04 09:16:29


1.如何将调查问卷的数据输入到excel中

如果某些单元格区域中要输入的数据很有规律,如学历(小学、初中、高中、中专、大专、本科、硕士、博士)、职称(技术员、助理工程师、工程师、高级工程师)等,希望减少手工录入的工作量,这时就可以设置下拉列表实现选择输入。

具体方法为: 选取需要设置下拉列表的单元格区域,单击“数据→有效性”命令,从“数据有效性”对话框中选择“设置”选项卡,在“允许”下拉列表中选择“序列”,在“来源”框中输入我们设置下拉列表所需的数据序列,如“技术员、助理工程师、工程师、高级工程师”,并确保复选框“提供下拉箭头”被选中,单击“确定”按钮即可()。这样在输入数据的时候,就可以单击单元格右侧的下拉箭头选择输入数据,从而加快了输入速度。

2.在手机上怎么把问卷星数据导出表格

需求描述将应用内的数据导出为excel表格。

实现添加依赖包在app的build.gradle里面添加依赖包:implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12'有很多读者提到该依赖有问题,笔者推测是网络代理的问题,遇到这种问题大家可以到下载对应的jar包手动导入即可:如果还是不能成功笔者已经写好了jar包放在了,大家可以自由下载,下载到jar包之后将其放在app/libs目录下,然后右键jar包文件,然后Add as Library即可。编写excel工具类package cn.xiaojii.cashgift.util.io;import jxl.Workbook;import jxl.WorkbookSettings;import jxl.format.Colour;import jxl.write.Label;import jxl.write.WritableCell;import jxl.write.WritableCellFormat;import jxl.write.WritableFont;import jxl.write.WritableSheet;import jxl.write.WritableWorkbook;import jxl.write.WriteException;/** * @author dmrfcoder * @date 2018/8/9 */public class ExcelUtil { private static WritableFont arial14font = null; private static WritableCellFormat arial14format = null; private static WritableFont arial10font = null; private static WritableCellFormat arial10format = null; private static WritableFont arial12font = null; private static WritableCellFormat arial12format = null; private final static String UTF8_ENCODING = "UTF-8"; /** * 单元格的格式设置 字体大小 颜色 对齐方式、背景颜色等。

*/ private static void format() { try { arial14font = new WritableFont(WritableFont.ARIAL, 14, WritableFont.BOLD); arial14font.setColour(jxl.format.Colour.LIGHT_BLUE); arial14format = new WritableCellFormat(arial14font); arial14format.setAlignment(jxl.format.Alignment.CENTRE); arial14format.setBorder(jxl.format.Border.ALL, jxl.format.BorderLineStyle.THIN); arial14format.setBackground(jxl.format.Colour.VERY_LIGHT_YELLOW); arial10font = new WritableFont(WritableFont.ARIAL, 10, WritableFont.BOLD); arial10format = new WritableCellFormat(arial10font); arial10format.setAlignment(jxl.format.Alignment.CENTRE); arial10format.setBorder(jxl.format.Border.ALL, jxl.format.BorderLineStyle.THIN); arial10format.setBackground(Colour.GRAY_25); arial12font = new WritableFont(WritableFont.ARIAL, 10); arial12format = new WritableCellFormat(arial12font); //对齐格式 arial10format.setAlignment(jxl.format.Alignment.CENTRE); //设置边框 arial12format.setBorder(jxl.format.Border.ALL, jxl.format.BorderLineStyle.THIN); } catch (WriteException e) { e.printStackTrace(); } } /** * 初始化Excel * * @param fileName 导出excel存放的地址(目录) * @param colName excel中包含的列名(可以有多个) */ public static void initExcel(String fileName, String[] colName) { format(); WritableWorkbook workbook = null; try { File file = new File(fileName); if (!file.exists()) { file.createNewFile(); } workbook = Workbook.createWorkbook(file); //设置表格的名字 WritableSheet sheet = workbook.createSheet("账单", 0); //创建标题栏 sheet.addCell((WritableCell) new Label(0, 0, fileName, arial14format)); for (int col = 0; col < colName.length; col++) { sheet.addCell(new Label(col, 0, colName[col], arial10format)); } //设置行高 sheet.setRowView(0, 340); workbook.write(); } catch (Exception e) { e.printStackTrace(); } finally { if (workbook != null) { try { workbook.close(); } catch (Exception e) { e.printStackTrace(); } } } } @SuppressWarnings("unchecked") public static void writeObjListToExcel(List objList, String fileName, Context c) { if (objList != null && objList.size() > 0) { WritableWorkbook writebook = null; InputStream in = null; try { WorkbookSettings setEncode = new WorkbookSettings(); setEncode.setEncoding(UTF8_ENCODING); in = new FileInputStream(new File(fileName)); Workbook workbook = Workbook.getWorkbook(in); writebook = Workbook.createWorkbook(new File(fileName), workbook); WritableSheet sheet = writebook.getSheet(0); for (int j = 0; j < objList.size(); j++) { ProjectBean projectBean = (ProjectBean) objList.get(j); List list = new ArrayList<>(); list.add(projectBean.getName()); list.add(projectBean.getProject()); list.add(projectBean.getMoney()); list.add(projectBean.getYear() + " " + projectBean.getMonth()+" "+projectBean.getDay()); list.add(projectBean.getBeizhu()); for (int i = 0; i < list.size(); i++) { sheet.addCell(new Label(i, j + 1, list.get(i), arial12format)); if (list.get(i).length() <= 4) { //设置列宽 sheet.setColumnView(i, list.get(i).length() + 8); } else { //设置列宽 sheet.setColumnView(i, list.get(i).length() + 5); } } //设置行高 sheet.setRowView(j + 1, 350); } writebook.write(); Toast.makeText(c, "导出Excel成功", Toast.LENGTH_SHORT).show(); } catch (Exception e) { e.printStackTrace(); } finally { if (writebook != null) { try { writebook.close(); } catch (Exception e) { e.printStackTrace(); 。

3.你好,请问你这个星表数据是怎么提取出来的啊

楼主可搜索 SQL行转列 看能不能找到更多相关信息declare @sql varchar(MAX)--获取所有表头列,用],[隔开select @sql = isnull(@sql + '],[' , '') + 表头列 from 表 group by 表头列--首尾加方括号set @sql = '[' + @sql + ']'--执行动态SQL语句exec ('select * from (select * from 表) a pivot (max(数据列) for 表头列 in (' + @sql + ')) b')。

4.在问卷星上发了MBTI问卷收到结果后如何统计

登陆问卷星网站,然后将其设定为接收信息到自己的电脑上即可。

拓展:

问卷是一个专业的在线问卷调查、测评、投票平台,专注于为用户提供功能强大、人性化的在线设计问卷、采集数据、自定义报表、调查结果分析系列服务。与传统调查方式和其它调查网站或调查系统相比,问卷星具有快捷、易用、低成本的明显优势,已经被大量企业和个人广泛使用,典型应用包括:

企业:客户满意度调查 市场调查员工满意度调查企业内训 需求登记 人才测评 高校:学术调研 社会调查 在线报名 在线投票 信息采集 在线考试

个人:讨论投票 公益调查 博客调查 趣味测试

相关信息


电脑版

【免责声明】本站信息来自网友投稿及网络整理,内容仅供参考,如果有错误请反馈给我们及时更正,对文中内容的真实性和完整性本站不提供任何保证,不承但任何责任。
版权所有:学窍知识网 Copyright © 2011-2024 www.at317.com All Rights Reserved .