排序而不改变细胞指数 [英] Sort without altering cell index

查看:139
本文介绍了排序而不改变细胞指数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找解决以下问题的解决方案:



我想知道H7中所有的A / Cs 3,4和5的总和(In图片)。
但是,我也想排序日期,以验证下一个到期,但不影响H7





但是,当按升序进行排序时,实际发生了什么,单元格索引本身正在改变,而H7的值会给出不同的值(这不是我想要的) 。





是否可以冻结Cell索引排序?

解决方案

尝试一个 SUMIF功能与OR条件。

  = SUM(SUMIF(A:A,{3,4,5},B:B))


I am looking for a solution to following issue :

I want to know the sum of A/Cs 3, 4 and 5 all the time in H7 (In Picture). But, I will also want to sort the date occasionally to verify the next due but without affecting H7

But, What actually happens when sorting in ascending order, the Cell index itself is getting changed and the value at H7 gives me the different value (which is not what I want).

Is it possible to freeze the Cell index during sort?

解决方案

Try a SUMIF function with OR criteria.

=SUM(SUMIF(A:A, {3,4,5}, B:B ))

这篇关于排序而不改变细胞指数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆