excel2007if函數(shù)符合條件變顏色的方法
在Excel中的函數(shù)可以做很多事情,其中IF函數(shù)可以在數(shù)據(jù)表中挑選符合條件的數(shù)據(jù)并更改顏色,具體該怎么做呢?下面是學(xué)習(xí)啦小編帶來(lái)的關(guān)于excel2007 if函數(shù)符合條件變顏色的方法,希望閱讀過(guò)后對(duì)你有所啟發(fā)!
excel2007 if函數(shù)符合條件變顏色的方法
IF函數(shù)符合條件變色步驟1:在SHEET表內(nèi)輸入原數(shù)據(jù)。
excel2007 if函數(shù)符合條件變顏色的方法圖1
IF函數(shù)符合條件變色步驟2:點(diǎn)擊菜單欄-開(kāi)始-樣式模塊中的條件格式-新建規(guī)則-僅用公式確定要設(shè)置格式的單元格。
excel2007 if函數(shù)符合條件變顏色的方法圖2
IF函數(shù)符合條件變色步驟3:在數(shù)據(jù)框中輸入公式:=IF($D2="黑色",1,0),然后設(shè)置格式為背景色為黃色填充-確定
excel2007 if函數(shù)符合條件變顏色的方法圖3
IF函數(shù)符合條件變色步驟4:回到Excel編輯區(qū)域,符合要求的行顯示了出來(lái),填充色為黃色。
excel2007 if函數(shù)符合條件變顏色的方法圖4
IF函數(shù)符合條件變色步驟5:想去除條件格式,選中條件格式區(qū)域,選擇-開(kāi)始-條件格式-清除規(guī)則-清除所選單元格的規(guī)則。
excel2007 if函數(shù)符合條件變顏色的方法圖5
IF函數(shù)符合條件變色步驟6:對(duì)公式的理解,如果單元格滿足條件,1表示則整個(gè)行為設(shè)置的格式,0表示否則為原格式。:=IF($D2="黑色",1,0),實(shí)際上是條件判斷。D2一定是D的前面加絕對(duì)符號(hào),2的前面無(wú)符號(hào)。
excel2007 if函數(shù)符合條件變顏色的方法圖6
看了excel2007 if函數(shù)符合條件變顏色的方法還看了:
1.excel2007 if函數(shù)符合條件更改顏色的方法
3.excel2010 符合條件數(shù)據(jù)換顏色的方法
excel2007if函數(shù)符合條件變顏色的方法




