99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
首頁精彩閱讀Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范
Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范
2020-04-13
收藏
Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范

作者 | CDA數(shù)據(jù)分析師


Excel 數(shù)據(jù)錄入


使用填充柄快速錄入數(shù)據(jù)


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范
Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范

Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


常見應(yīng)用場景:


  1. 快速生成序列
  2. 快速復(fù)制公式進(jìn)行計(jì)算
  3. 快速填充提取規(guī)律信息

......


Excel 數(shù)據(jù)規(guī)范


Excel 數(shù)據(jù)類型


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


Excel 自定義數(shù)字格式


在Excel 中可以通過設(shè)置數(shù)字格式或者自定義數(shù)字格式來改變數(shù)值的顯示方式,其格式代碼的語法結(jié)構(gòu)分為四個區(qū)段,區(qū)段之間用分號“;“隔開。四個區(qū)段分別用于設(shè)置特定數(shù)值的格式(即數(shù)值的顯示方式),語法結(jié)構(gòu)如下:


正數(shù)格式;負(fù)數(shù)格式;零格式;文本格式


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


在實(shí)際使用中,自定義格式代碼的四個區(qū)段不一定全部使用,使用部分區(qū)段的規(guī)則如表所示:


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


常用的格式代碼有如下表所示:


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范

Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


Excel 日期與時間的規(guī)范


日期和時間的存儲方式


在Excel 中,日期和時間是以一種特殊的數(shù)值形式存儲的。


Windows操作系統(tǒng)上所使用的Excel 版本中,日期系統(tǒng)默認(rèn)為”1900日期系統(tǒng)“,即以1900年1月1日作為序列值的基準(zhǔn)日(第1天),當(dāng)日的序列值計(jì)為1,然后向后累加天數(shù)。例如:1900年1月3日的序列值即為3,即與1900年1月1日相差3天。


Excel數(shù)據(jù)分析系列(三):Excel數(shù)據(jù)錄入與規(guī)范


日期的序列值是用整數(shù)來進(jìn)行表示的,一天的數(shù)值單位就是1,時間則是用小數(shù)表示,通過計(jì)算可得:


1小時 = 1天/24 ≈ 0.04 天

1分鐘 = 0.04天/24 ≈ 0.0017 天


因此,若想查看某個日期時間的序列值,可以將其數(shù)據(jù)類型轉(zhuǎn)換成數(shù)字進(jìn)行查看。


規(guī)范日期


Excel 一般使用以下3種規(guī)范日期格式:


  1. 使用短橫線分隔符”-“的輸入,如:2019-9-9
  2. 使用斜線分隔符”/“的輸入,如:2019/9/9
  3. 使用中文”年月日“的輸入,如:2019年9月9日


批量規(guī)范日期的方法有很多,在這里主要介紹2種情況:


  1. 使用查找替換:將”2019.9.9“格式的日期規(guī)范成正確格式
  2. 使用TEXT函數(shù):將”190909“格式日期規(guī)范成正確格式

數(shù)據(jù)分析咨詢請掃描二維碼

若不方便掃碼,搜微信號:CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線
立即咨詢
客服在線
立即咨詢
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機(jī)數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進(jìn)行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個參數(shù)驗(yàn)證碼對象,之后可以使用它調(diào)用相應(yīng)的接口 initGeetest({ // 以下 4 個配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶后臺檢測極驗(yàn)服務(wù)器是否宕機(jī) new_captcha: data.new_captcha, // 用于宕機(jī)時表示是新驗(yàn)證碼的宕機(jī) product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說明請參見:http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計(jì)時完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }