Active Member
March 8, 2021
Hi,
First of all, I would like to know how to write "If A1 is greater than 0, add 25%. If A1 is 0 or less, don't add anything"
Secondly, I have a Circular Equation problem that I solved myself but it is extremely truncated. I would like to know if there is an easier way:
So... Column A is a list (of goods for example). Column B lists the number of each good. Columns C through E list component prices, with a total of each component on Line 1 (for ease of viewing)
Some of the items in Column A can have a modifier effect on component prices (eg. +/- 25%).
If I add 1 modifier to the table it creates a Circular Equation. I solved this by having a seperate modifiers table and running the entire list of components through the modifier so that the modifier is at the end of the equation instead of the total (at the head of the column).
This quickly becomes difficult if you want to add (potentially) several modifiers to each component.
In case this is not making sense I have uploaded an example of the Circular Equation and an example of my solution.
Thank-you
July 16, 2010
Hi Adam,
Welcome to our forum.
You can write your IF formula like so:
=IF(A1>0,A1*1.25,A1)
Assuming you want to keep the value in A1 or add 25% to it. Learn how to write IF functions here.
In regards to your circular reference. The formula in cell D6 is =D1*B5*D15 where D1 contains the sum of cells D3,D4,D5,D6 and D7. Why are you multiplying the value in D6 by the sum of D3:D7 i.e. by itself?
Mynda
Answers Post
Active Member
March 8, 2021
Hi Mynda,
1. Thank you for the formula: The intention is to have a modifier whereby if I have 1 item it will alter the total by 25%. If I have 2, 50% etc.
There may be instances where I want to add another modifier at eg. 15%. This is reeaally difficult to explain.
2. Short answer, I didn't intend to. I was trying to convey the problem I'm having with adding a percentage modifier to the total in the column.
Can you see what I've done on the second sheet? Is there an easier way? Say I wanted to add (or remove) more modifiers on the fly. Or must I re-route the entire chain every time I want to add (or remove) a modifier?
Thanks again.
Edit: I didn't realise you can put a formula in any cell, even if it doesn't directly relate to the equation chain.
Thankyou very much for your help. I've learned a lot today 😉
The following users say thank you to Adam Chambers for this useful post:
Mynda Treacy1 Guest(s)