Formula result displayed along with text symbol

jski21

Board Regular
Joined
Jan 2, 2019
Messages
133
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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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,214,819
Messages
6,121,727
Members
449,049
Latest member
MiguekHeka

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