+ Reply to Thread
Results 1 to 11 of 11

IF OR Function Help Please

  1. #1
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    IF OR Function Help Please

    Hi All,

    I'm new and was hoping someone maybe able to help me with this one please.

    I understand the very basic IF function and that's my limit unfortunately. I am trying to insert an IF OR function (if that is what I need for this scenario for the "Funds at the end of the year"

    I have:

    Total Receipts: £28.00
    Total Payment: £140.50

    Increase in funds this year: £
    Decrease in funds this year: -£112.50


    Funds at the start of the year: £1,100.17
    Funds at the end of the year: [trying to insert formula here to take into account one of the figures in italics above]


    I have come up with the following;

    =IF(E38>0,E41+E38,"")*OR(IF(E39<0,E41+E39))

    but it is resulting in #VALUE!

    Please could someone tell me where I am going wrong.

    Thank you so much in advance. Nic
    Attached Images Attached Images

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: IF OR Function Help Please

    I think what you want is

    =IF(E38>0,E41+E38,E41+E39)
    Happy with my advice? Click on the * reputation button below

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: IF OR Function Help Please

    Hi,

    If only one of E38 or E39 contain a number with the other being zero then you don't need an IF statement

    +E41+E38+E39

    will suffice.

    Incidentally next time uoload the workbook. This helps us all when we can see the request in context.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    Red face Re: IF OR Function Help Please

    Many thanks for your reply Crooza.

    I did try that initially as that made sense to me, but it still returns a result of #VALUE!.

    It only seems to work if the Receipts are more than the Payments. That's why I thought maybe I needed an OR function in it.

  5. #5
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: IF OR Function Help Please

    I'd say you've got spaces in the fields then ie they are not blank. Upload a file like Richard said above and someone will check it out

  6. #6
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    Re: IF OR Function Help Please

    Oh my goodness, thank you Richard , why did I not think of this. I think I was certainly overthinking the matter.

    Thanks once again for your help.

    Also, thank you for your advice re uploading the workbook next time

  7. #7
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    Re: IF OR Function Help Please

    I have a attached a worksheet from the workbook I'm currently using and I've entered the formula's you have provided and the results it shows.

    I'm not sure why I can only get the AutoSum option to work and wondered if it was something I'm missing.

    if_or_function.xlsx

    Many thanks. Nic

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: IF OR Function Help Please

    In D34

    =IF(D13>D32,D13-D32,0)

    0 instead of ""

  9. #9
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    Re: IF OR Function Help Please

    Great, thanks John; that now works with the IF function.

    That now makes sense as technically in D34 it was returning a "nothing" result rather than a 0, which my subsequent IF function was relying on a result of 0 rather than nothing

  10. #10
    Registered User
    Join Date
    05-02-2016
    Location
    Huddersfield, England
    MS-Off Ver
    2013
    Posts
    11

    Re: IF OR Function Help Please

    Thanks for all of your help and I will remember to include worksheet/books next time

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: IF OR Function Help Please

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  2. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  3. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  4. [SOLVED] IF Function referencing IsNumber, Match, Left function on separate sheets
    By Touch9713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-12-2013, 10:09 PM
  5. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  6. Replies: 1
    Last Post: 03-21-2012, 11:22 AM
  7. Replies: 2
    Last Post: 03-20-2009, 01:29 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