简体   繁体   English

excel使用公式导致另一个公式

[英]excel use formula results in another formula

I have this formula:我有这个公式:

=UNIQUE(A1:A100)

I would like to use the results of formula =ROW(OFFSET(A1,COUNTA(A:A)-1,0)) in order to get the row number and use it in the UNIQUE formula, to get the changes dynamically.我想使用公式=ROW(OFFSET(A1,COUNTA(A:A)-1,0))的结果来获取行号并在 UNIQUE 公式中使用它,以动态获取更改。

the results should be: =UNIQUE(A1:A&*<results of =ROW(OFFSET(A1,COUNTA(A:A)-1,0))>*)结果应该是: =UNIQUE(A1:A&*<results of =ROW(OFFSET(A1,COUNTA(A:A)-1,0))>*)

I need to use vba, or there is a way without it?我需要使用vba,或者有没有它的方法?

OFFSET 有一个高度参数,你可以直接使用它: =UNIQUE(OFFSET(A1,0,0,COUNTA(A:A)-1,1))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM