Stumped

Blackspear

New Member
Joined
Apr 26, 2002
Messages
30
Last week I sold $110 (A1), this week I sold $77 (B1) the percentage increase/decrease (C1) is -30%, what formula do I need to place in C1?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Thanks for your reply, that doesn't work, it gives 43%, were the answer is a decrease of -30% in sales, $110 last week, this week down by 30% to $77
 
Upvote 0
On 2002-04-27 04:00, Blackspear wrote:
Thanks for your reply, that doesn't work, it gives 43%, were the answer is a decrease of -30% in sales, $110 last week, this week down by 30% to $77


=(B1-A1)/A1 in C1 gives me -30%, when A1 houses 110 and B1 77.
 
Upvote 0
My appologies Aladin, I don't know what I did, but your formula works, thank you very much. I have one more question for you. I am calculating 100/10 = 10, if 100/0 = 0, how do I get it to display "0" rather than the error code "Num/0!" ???
 
Upvote 0
On 2002-04-27 04:44, Blackspear wrote:
My appologies Aladin, I don't know what I did, but your formula works, thank you very much. I have one more question for you. I am calculating 100/10 = 10, if 100/0 = 0, how do I get it to display "0" rather than the error code "Num/0!" ???

If you want to avoid the #DIV/0! error, you can check the divisor as in:

=IF(E2,E1/E2,0)

When E1 houses 100 and E2 0 (or E2 is empty), this formula will return 0.

The condition of the IF function in the above formula for any number other than 0 is TRUE, otherwise FALSE. When the condition evaluates to TRUE than the divison E1/E2 is performed, otherwise 0 is returned.

Aladin
 
Upvote 0

Forum statistics

Threads
1,213,531
Messages
6,114,167
Members
448,554
Latest member
Gleisner2

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