+ Reply to Thread
Results 1 to 3 of 3

Calculations do I use IF Statements? If not what please?

  1. #1
    Registered User
    Join Date
    02-22-2018
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    5

    Calculations do I use IF Statements? If not what please?

    Hello
    I'm having a bit of a problem writing an IF statement. By that I mean I think I need an IF statement, but Im not sure. I really need some guidance.
    I have a spreadsheet which is calculating the price of cheese.
    I can set an exchange rate which I can change.
    What I need to be able to do is if the price per kilo rises by 10p then I need the Average monthly sales figures to drop by 20 and if the exchange rate drops below 0.7 then the sales increase by a similar amount.
    I would be super greatful if sombody could give me some pointers on how to solve this!
    Attached Files Attached Files
    Last edited by yossii; 02-22-2018 at 03:55 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: Calculations

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Ben Van Johnson

  3. #3
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: Calculations

    Yossi, I assume by 20, you mean the number 20, and not 20%. Here's an example of how to do what you're looking for.

    Was going to post the file, but my browser won't let me for some reason. Here's what to do to the file you posted:

    In cell B10 insert: =IF(B9<0.7,1,0)
    In cell C3 insert: =IF(D2>=(10+B2),900-20,900)+20*$B$10

    Cells C3 through C6 can have the same formula as C2, just change it to reference the right rows.

    If you have questions, let me know.
    You either quit or become really good at it. There are no other choices.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatic Calculations vs Manual Calculations
    By JCtheRULEr in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-19-2017, 06:40 AM
  2. Automatic calculations and maunal calculations Excel 2013
    By JCtheRULEr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2017, 05:09 AM
  3. [SOLVED] Rounded numbers and result
    By MacawCapeTown in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2016, 02:29 AM
  4. Replies: 0
    Last Post: 07-07-2012, 04:13 AM
  5. Calculations
    By halem2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-12-2007, 10:38 AM
  6. Calculations
    By Andrew Hodgson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Calculations
    By Neil Hopkinson in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-04-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1