S
S
Sergey K2019-10-11 16:57:26
excel
Sergey K, 2019-10-11 16:57:26

How to sum cells of a certain format in Excel?

Hello, I have the following column:
5da08970150bf087570346.png
I want to sum rubles and dollars separately, i.e. as a result, I would like to get the following line: I
$: 499.48, ₽: 346.13
thought to use the SUMIF formula, but it compares cell values, not the format.
Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey K, 2019-10-11
@AceLightning

In general, I could not find a quick solution. I solved the problem as follows: I
added another column for explicitly specifying the currency
. As a result, I got the desired row using the following formula:
If, nevertheless, someone has a solution without an additional column, then it will be interesting for me to look at it.

I
idShura, 2019-10-11
@idShura

You need to use two functions together =SUMIF and =CELL("format",A1)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question