我的电子表格数据库,该数据库有两个版本,with flag
和without flag
。带标志的数据具有前面的字符(例如MDL,<,ND等)
这是with标志表的一部分:
这是无标记表的相同部分:
我从工作without flag
表中获取统计信息(因为公式中只能包含数字)。但是我试图弄清楚我从without flag
(即最小值,均值,最大值等)获得的统计信息是否最初被标记。如果是,那是什么标志?
For the first part, I can just compare the statistics from two sheets, and if they are different, it means that it was flagged.
Question: How I can find out what was the flag? (e.g. MAX, <, R, etc.)
There are more than 15 different flags. I also prefer doing it in excel formulas for sake of simplicity as this spreadsheet till now had not needed any macro.
I am thinking about something like finding the cell that the numeric part of it matches with the statistics and then extracts the non-numeric part of it.
You could use Substitute
, which will search for one string inside another and replace it.
=SUBSTITUTE('with flag'!DI207,'without flag'!DI207,"")
我们只是去除数字部分(位于中)'without flag'!DI207
,然后将其替换为“”,以仅保留该标志。这也可以用来指示是否有一个标志-任何非空的返回都表明那里有一个标志。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句