[英]Find The Last Value of Range With Criteria and Return Value of Another Cell
我需要弄清楚基於在threadid內的replyto得到最后一個messageid的公式。
下面是一個例子。 基本上,一個messageid中messageid的最后一個實例,我需要在“上一個線程發布ID”中返回messageid的值。 我的電子表格將始終按照如下所示進行排序。
主題中的第一條帖子的回復號碼為0。
我有一個包含成千上萬個messageid和threadid的數據庫,因此無法像下面那樣手動進行操作。 我不確定如何設置公式或宏來執行此任務。 任何幫助表示贊賞。
messageid threadid replyto Last messageid in thread
3550 3550 0 3550
3867 3867 0 4677
3947 3867 3867
3998 3867 3947
4337 3867 3998
4414 3867 4337
4481 3867 4414
4677 3867 3867
3925 3925 0 7200
4653 3925 3925
4959 3925 4653
7200 3925 3925
4092 4092 0 4092
5800 5800 0 5800
5802 5802 0 5802
7202 7202 0 7202
7203 7203 0 7656
7294 7203 7203
7305 7203 7203
7342 7203 7203
7406 7203 7342
7436 7203 7305
7656 7203 7203
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.