Published 1月 20, 2014 by Kevin

Excel在插入行列時,利用OFFSET函數,讓參考儲存格位置不會變更

Excel在插入行列時,利用OFFSET函數,讓參考儲存格位置不會變更

在比較G2欄位與H2欄位時,希望當G2欄位不等於H2欄位時,在I2欄位出現V,相等時則留白.但是當在G2與H2欄位插入一列時,此時G2與H2會變成G3與H3,則I2欄位的比較會跟著變成G3與H3的比較,而不會去比較G2與H2的欄位,此時就可以用OFFSET函數去固定讓I2永遠是比較G2與H2,不會因為插入列而變更.(當然四則運算也可以用)

=IF((OFFSET(A2,0,6,1,1)<>(OFFSET(A2,0,7,1,1))),"V","")

OFFSET的完整語法:

    OFFSET(reference,rows,cols,height,width)
Read More
      edit
Published 1月 20, 2014 by Kevin

Excel比較兩個儲存格資料

Excel比較兩個儲存格資料

比較儲存格A2與B2的值,在儲存格C2輸入:

=IF((A2<>B2),"V","")

如果A2與B2不相等C2會顯示"V"表示,相等就留空白.

Read More
      edit
Published 1月 02, 2014 by Kevin

Juniper ex-4200回復原廠設定

Juniper ex-4200回復原廠設定

  • 輸入request system zeroize,然後輸入yes.

    root> request system zeroize 
    warning: System will be rebooted and may not boot without configuration
    Erase all data, including configuration and log files? [yes,no] (no) yes 
    
    warning: ipsec-key-management subsystem not running - not needed by configuration.
    warning: zeroizing fpc0
    
    {master:0}
    root> Terminated
    
  • 會自動重開機,又是一台空白的設備了,希望你有備份設定擋.

Read More
      edit
Published 1月 02, 2014 by Kevin

Juniper ex-4200 密碼回復(密碼重新設定)步驟

Juniper ex-4200 密碼回復(密碼重新設定)步驟

  1. 連接ex-4200 con port,serial設定跟cisco一樣9600n81,線也是一樣用rollback的線.
  2. 出現以下訊息時,按下空白鍵
    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [kernel] in 9 seconds...
    
  3. 輸入boot -s
    loader> boot -s
Read More
      edit