Formula to compute increase or decrease and include symbol for up or down

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have inserted symbols in S1 & T1 to indicate in increase (up) or decrease (down) . Have used the up nd down arrow using Wingdings 3


I have set up a formula to compute the increase or decrease and to include the increase symbol (up sign) and decrease 9down sign) at the end of the formula but the result is for eg 114.45p. the resul should be for eg 114.5 followed by the up arrow symbol as it is positive

when pasting the data over here, the up and down triangle arrow is not displaying


Book1
ST
3pq
Sheet1




The formula I have used is

Code:
=IF((B2/C2)-1>0%,TEXT((B2/C2)-1,"#,#0.00%")&S1,TEXT((B2/C2)-1,"#,#0.00%")&T1)&""



Book1
BCDE
2(185)(149)(36)24.16%p
Sheet1
Cell Formulas
RangeFormula
D2=+B2-C2



your assistance in resolving this is most appreciated
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this instead

Up arrow
=UNICHAR(8593)
Down arrow
=UNICHAR(8595)

I have not tested your formula, but assuming it is correct, then
=IF((B2/C2)-1>0%,TEXT((B2/C2)-1,"#,#0.00%")&S1,TEXT((B2/C2)-1,"#,#0.00%")&T1)&""
becomes

=IF((B2/C2)-1>0%,TEXT((B2/C2)-1,"#,#0.00%")&UNICHAR(8593),TEXT((B2/C2)-1,"#,#0.00%")&UNICHAR(8595))&""
 
Last edited:
Upvote 0
Thanks for the help, Unichar code works perfectly
 
Upvote 0
Is there a way to format the data so that the arrow is in the far right after the % for eg 161.45% ?. The arrow then to appear on the far right of cell where this % is
 
Upvote 0

Forum statistics

Threads
1,214,598
Messages
6,120,441
Members
448,966
Latest member
DannyC96

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