Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel formula question
Pipeandslippers20
Posts: 58 Forumite
in Techie Stuff
Displaying "increase", "decrease" or "stable" depending on number value
If anybody can help me with this I'd be very grateful.
What I want to do is basically assign a flag (based on conditional formatting) according to a number value. Sounds simple.
I'm looking at birth rates, in 2010 there might be 100. In 2009 there were 99.
I want to do 3 things. If the percentage change in birth rate between the years is either 0, OR is between 0 and 1, then I want to say it's stable. If it goes up or down by more than a percentage I want it to say "Increase" or "Decrease". It's the between 0 and 1 range I'm having difficulty with.
The formula I have is along the lines of:
=IF(AND(AG9>=99,AG9<=101),"stable"),IF(AG9>101,"Increase",IF(AG9<99,"decrease"))
Not terribly difficult, but's it's driving me mad and I don't have much time..
Would be very grateful for any pointers
What I want to do is basically assign a flag (based on conditional formatting) according to a number value. Sounds simple.
I'm looking at birth rates, in 2010 there might be 100. In 2009 there were 99.
I want to do 3 things. If the percentage change in birth rate between the years is either 0, OR is between 0 and 1, then I want to say it's stable. If it goes up or down by more than a percentage I want it to say "Increase" or "Decrease". It's the between 0 and 1 range I'm having difficulty with.
The formula I have is along the lines of:
=IF(AND(AG9>=99,AG9<=101),"stable"),IF(AG9>101,"Increase",IF(AG9<99,"decrease"))
Not terribly difficult, but's it's driving me mad and I don't have much time..
Would be very grateful for any pointers
0
Comments
-
how about:
>101 = increase
< 99 = decrease
otherwise = stable
=IF(AG9>101,"Increase",IF(AG9<99,"decrease","stable"))
(or change the 99 to 100 in the above)0 -
-
cant you say if <99 decrease if >101 increase and if >99 stable ?0
-
thanks for your help guys. Both would work. What I was trying to find was this one:
=IF(ABS(AG9-AF9)<=1,"Stable",IF(AG9>AF9,"Increase","Decrease"))
i.e. the ABS function0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 355.9K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.2K Spending & Discounts
- 248.4K Work, Benefits & Business
- 606.1K Mortgages, Homes & Bills
- 179K Life & Family
- 263.9K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards