Formula result displayed along with text symbol

jski21

Board Regular
Joined
Jan 2, 2019
Messages
135
Office Version
  1. 2016
Platform
  1. Windows
Is it possible to have the following formula display thedifference between cell C15 and another cell?

=TEXT(ROUND(C15,0),IF(C15,"#,##0","0")&""&IF(C15>C28,"",IF(C15=C28,"","")))

The formula is useful as it shows the value of a designated cellalong with a symbol indicating whether the value is higher, lower, or the sameas another cell. I’d like it to display the difference between cell C15 and cellC28. I’m thinking the answer is no as as it’s displaying a cell value alongwith a text symbol.

Thanks in advance for the consideration and help.

jski
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You could use
=TEXT(ROUND(C15,0)-ROUND(C28,0),IF(C15,"#,##0","0")&""&IF(C15>C28,"▲",IF(C15=C28,"●","▼")))
Although it won't be a number
another option would be to do the calculation in the cell & use conditional formatting to add the symbol
 
Upvote 0
Thanks Fluff. This is perfect.

jski



You could use
=TEXT(ROUND(C15,0)-ROUND(C28,0),IF(C15,"#,##0","0")&""&IF(C15>C28,"▲",IF(C15=C28,"●","▼")))
Although it won't be a number
another option would be to do the calculation in the cell & use conditional formatting to add the symbol
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,216,616
Messages
6,131,757
Members
449,670
Latest member
ryanrodgers2014

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top