Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9632

Gdoc Sheet - Custom number format - How to change the color of a number within a text, from a formula?

$
0
0

I've looked a bit in all the questions we already have here, and after half an hour I haven't found what I wanted (maybe I'm a dumbdumb but I'll leave you the opportunity to tell me), so here it is :

I have a set of cell, in which I have data validation which are text. I count different types of things with formulas and I display them in other cells. The thing is that I'm doing using text & the formula. Like this :

="Fiber: "&COUNTIF(B6:B8; "Token +") + COUNTIF(B10:B11; "Token +")

or

="E1s: "&COUNTIF(B9; "Eden")+COUNTIF(B12:B16; "Eden")
&" E2s: "&COUNTIF(B8; "Eden")+COUNTIF(B11; "Eden")
&" E3s: "&COUNTIF(B6; "Eden")+COUNTIF(B10; "Eden")
&" E4s: "&COUNTIF(B4; "Eden")+COUNTIF(B7; "Eden")

In order to save space and I like it this way :p So the question is, on a formula like this, where you use text & formula & numbers, how can I display only the numbers in a different color, let's say [CYAN] ?

Here is a picture of how I would like it to be

enter image description here

Thanks in advance :)


Viewing all articles
Browse latest Browse all 9632

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>