回複:一個Excel問題,可否拖拽產生數據

來源: jjbear 2010-07-21 18:29:18 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (682 bytes)
This method can let you use drag down to copy all formulas not matter how many row you have.

1. In cell A1 of the target sheet type =sheet1!A1, then drag down to copy formula.

2. In cell B1 of the target sheet type in the following formula: =IF((ROW()/2-INT(ROW()/2))>0,1,0). Then drag down to copy the formula to all cells. The value should be 1 if it is odd row, and 0 if it is even row.

3. Select column A and B in the target sheet, then go to menu Data->Filter->AutoFilter.

4. In column B set filter to equal to 0.Then delete all rows. The rest rows are the odd rows in original order.

5. Delete column B in the target sheet.



所有跟帖: 

Above is the most efficient way so far if you know how to use fi -jjbear- 給 jjbear 發送悄悄話 (0 bytes) () 07/21/2010 postreply 18:39:09

There are data in other columns. I can not delete entire rows. -wxcqt- 給 wxcqt 發送悄悄話 wxcqt 的博客首頁 (208 bytes) () 07/22/2010 postreply 07:07:53

Try this, it should work. -jjbear- 給 jjbear 發送悄悄話 (405 bytes) () 07/22/2010 postreply 09:10:26

Yep, this is a smart way to just work on the two columns. Thanks -wxcqt- 給 wxcqt 發送悄悄話 wxcqt 的博客首頁 (0 bytes) () 07/22/2010 postreply 12:09:43

Excellent. Can u help me to arrage the data from a column to a r -xyz100- 給 xyz100 發送悄悄話 xyz100 的博客首頁 (0 bytes) () 07/22/2010 postreply 12:33:47

回複:Excellent. Can u help me to arrage the data from a column to -xyz100- 給 xyz100 發送悄悄話 xyz100 的博客首頁 (68 bytes) () 07/22/2010 postreply 12:35:17

Use transpose -jjbear- 給 jjbear 發送悄悄話 (116 bytes) () 07/22/2010 postreply 15:13:35

瓦,這幕簡單呀? 謝謝,還真管用, -xyz100- 給 xyz100 發送悄悄話 xyz100 的博客首頁 (0 bytes) () 07/22/2010 postreply 18:03:37

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”