For a cell that will display a percentage followed by a number associated with the percentage, I have the below formula. The issue I have with the formula has to due with the number formatting, which will display a number less than 1,000,000 with a "k" (e.g. 150k) and greater than 1,000,000 with an "m" (e.g. 15m). The formatting formula works fine with the "k" less than 1,000,000 numbers, but it shows "#VALUE!" error with numbers in the millions. Suggestions?
=IF(V48<0.005,"",TEXT(V48,"0%")&CHAR(10)&TEXT(V42,IF(V42<1000000,(("$#,##,")&"k"),(("$#,##0.00,,")&"m"))))
=IF(V48<0.005,"",TEXT(V48,"0%")&CHAR(10)&TEXT(V42,IF(V42<1000000,(("$#,##,")&"k"),(("$#,##0.00,,")&"m"))))