• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

IF Formula and Circular Equations|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / IF Formula and Circular Equations|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…IF Formula and Circular Equations
sp_PrintTopic sp_TopicIcon
IF Formula and Circular Equations
Avatar
Adam Chambers

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
1
March 8, 2021 - 5:19 am
sp_Permalink sp_Print

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

sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4448
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
March 8, 2021 - 9:34 am
sp_Permalink sp_Print

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

sp_AnswersTopicAnswer
Answers Post
Avatar
Adam Chambers

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
March 8, 2021
sp_UserOfflineSmall Offline
3
March 8, 2021 - 10:16 pm
sp_Permalink sp_Print sp_EditHistory

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 Treacy
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Sherry Fox, Richard West, Dana Friedt, Nada Perovic
Guest(s) 12
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Forum Stats:
Groups: 3
Forums: 24
Topics: 6218
Posts: 27265

 

Member Stats:
Guest Posters: 49
Members: 31901
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.