Various Cells Increasing/Decreasing

NoahsArc

New Member
Joined
Mar 9, 2022
Messages
2
Office Version
  1. 365
  2. 2021
Hi,

I have a data set here with a list of people who made % changes on specific dates (the % change is not what they increased/decreased by, it is what they changed to). I'm trying to figure out a way to take the first value and then show any subsequent movement. Some people increased and then decreased and then increased again, I need to see that listed plainly and be able to sort by this criteria.

So for example:

John 3% 5% 2%

I'd like a statement to show if he increased, decreased, or increased then decreased.

Any help would be appreciated!
Noah
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hello,

I put 'John's' data in column C, See the uploaded image. I wrote the following in Cell D5 and copied it down. Column E just shows the formulas in in column D

=IF(C5="","",IF(C5>$C$4,"Up",IF(C5<$C$4,"Down",IF(C5=$C$4,"Even"))))

You can copy it as far as you want and it will be blank if there is no data in column C

Jamie
 

Attachments

  • VBA Code.jpg
    VBA Code.jpg
    119.4 KB · Views: 12
Upvote 0
I don't know if I get what you want to achieved but kindly see sample

2015 - 2022 newXNAPOLCOM SOURCE.xlsx
ABCDEFG
1Mr. John DoeBase on Initial OutputBase on Previous Output
2Initial Output20
3History10BelowB5 againts B4BelowB5 againts B4
45BelowB5 againts B5BelowB6 againts B5
520EvenB5 againts B6AboveB7 againts B6
621AboveB5 againts B7AboveB8 againts B7
719BelowB5 againts B8BelowB9 againts B8
850AboveB5 againts B9AboveB10 againts B9
920EvenB5 againts B10BelowB11 againts B10
UPDATED (16)
Cell Formulas
RangeFormula
D3:D9D3=IF(B3=B$2,"Even",IF(B3<B$2,"Below","Above"))
F3:F9F3=IF(B3=B2,"Even",IF(B3<B2,"Below","Above"))
 
Upvote 0
I don't know if I get what you want to achieved but kindly see sample

2015 - 2022 newXNAPOLCOM SOURCE.xlsx
ABCDEFG
1Mr. John DoeBase on Initial OutputBase on Previous Output
2Initial Output20
3History10BelowB5 againts B4BelowB5 againts B4
45BelowB5 againts B5BelowB6 againts B5
520EvenB5 againts B6AboveB7 againts B6
621AboveB5 againts B7AboveB8 againts B7
719BelowB5 againts B8BelowB9 againts B8
850AboveB5 againts B9AboveB10 againts B9
920EvenB5 againts B10BelowB11 againts B10
UPDATED (16)
Cell Formulas
RangeFormula
D3:D9D3=IF(B3=B$2,"Even",IF(B3<B$2,"Below","Above"))
F3:F9F3=IF(B3=B2,"Even",IF(B3<B2,"Below","Above"))
I think this is along the lines of what I need. Is there a way to make it so that it doesn’t recognize blanks - only cells with values in them?
 
Upvote 0
Just wrap it in another IF, like you did in your original attempt, to check for a value first:
Excel Formula:
=IF(C5="","",...
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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