Adding Trend Arrows

pmpkinspice97

New Member
Joined
Oct 21, 2024
Messages
5
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I am trying to add trend arrows to my data based on the previous month. Please see the examples table below. Let's say we're looking at the data of orange crates sold each month for the last six months. January- 16, February- 6, March- 7, April- 4. May- 18 and June- 47. How would I get arrows to show if more or less oranges were sold in the previous month?

What I have:
JanuaryFebruaryMarchAprilMayJune
166741847

What I want:
JanuaryFebruaryMarchAprilMayJune
166↓7↑4↓18↑47↑
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi & welcome to MrExcel.
You can do that with conditional formatting using a custom cell format.
Fluff.xlsm
ABCDEF
1JanuaryFebruaryMarchAprilMayJune
2166↓7↑4↓18↑47↑
Sheet6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:F2Expression=B2>A2textNO
B2:F2Expression=B2<A2textNO


The custom cell format is 0↓ and 0↑
 
Upvote 0
Solution
Hi & welcome to MrExcel.
You can do that with conditional formatting using a custom cell format.
Fluff.xlsm
ABCDEF
1JanuaryFebruaryMarchAprilMayJune
2166↓7↑4↓18↑47↑
Sheet6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:F2Expression=B2>A2textNO
B2:F2Expression=B2<A2textNO


The custom cell format is 0↓ and 0↑
Thank you! I thought it would be conditional formatting but I wasn't quite sure how to make a rule that would help me do this! I appreciate your help. Do you mind showing me where I would create that rule?
 
Upvote 0
Thank you! I thought it would be conditional formatting but I wasn't quite sure how to make a rule that would help me do this! I appreciate your help. Do you mind showing me where I would create that rule?
Let me clarify actually. I know how to create the rule, but how do I apply it to multiple cells?
 
Upvote 0
Select the range of cells you want to apply it to & then goto CF & enter the rule.
 
Upvote 0
Thank you, Fluff. I am still having a hard time applying it to all cells but hopefully i can figure it out! If not, I suppose I can type out the format for every cell.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
Sorry to resurrect this post but can the same thing be done in Google Sheets? If so I am not sure what formula needs to be entered in conditional formatting. I would also like to use these symbols instead ▲▲ if its possible.

Thank you.
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,619
Members
452,661
Latest member
Nonhle

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