+ Reply to Thread
Results 1 to 8 of 8

Need help with an IF Formula

Hybrid View

Broberts1986 Need help with an IF Formula 06-06-2018, 06:02 PM
FDibbins Re: Need help with an IF... 06-06-2018, 06:12 PM
alansidman Re: Need help with an IF... 06-06-2018, 06:13 PM
Pete_UK Re: Need help with an IF... 06-06-2018, 06:14 PM
Broberts1986 Re: Need help with an IF... 06-06-2018, 06:36 PM
FDibbins Re: Need help with an IF... 06-06-2018, 06:56 PM
Broberts1986 Re: Need help with an IF... 06-06-2018, 07:24 PM
FDibbins Re: Need help with an IF... 06-06-2018, 10:36 PM
  1. #1
    Registered User
    Join Date
    06-05-2018
    Location
    Missouri
    MS-Off Ver
    2013
    Posts
    11

    Need help with an IF Formula

    Hello all im trying to figure out how to make this formula work.

    =IF(F35<G35,F35,K35+L35+M35)

    The cell is just returning with zero and not matching the data from the F35 Cell and also isnt providing me with the sum from the K-M Columns that trying to get.

    I figure it is gonna be a simple fix as it is generally when i ask but i have been trying to figure this out for almost an hour.

  2. #2
    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
    53,048

    Re: Need help with an IF Formula

    what exactly is in those cells, are you sure they contain REAL values, and not text looking like numbers?
    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    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

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,709

    Re: Need help with an IF Formula

    The formula looks ok. Suggest you upload a sample workbook with a few transactions that currently do not work. In this manner, we can test and analyze what is really happening.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Need help with an IF Formula

    It might be that the "numbers" in those cells are really text values which look like numbers, but are not real numbers. How did the values get into those cells?

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    06-05-2018
    Location
    Missouri
    MS-Off Ver
    2013
    Posts
    11

    Re: Need help with an IF Formula

    I have uploaded a test document of what i was trying to do.

    im starting to think it might be more complicated then i thought.

    the values in those cells are using formulas to gather the initial values.
    Attached Files Attached Files

  6. #6
    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
    53,048

    Re: Need help with an IF Formula

    OK here is your 1st problem (unless your file has a typo?)...
    What I would like is for cell D2 to look at Cell C2 and if C2 is lower then D2
    You are testing a cell to see if "itself" is less than "itself".

    This is causing whats called a Circular Reference Error, and we try to avoid those as much as possible

    If that was a typo in your file, what was your expected answer? (the file shows 7)

  7. #7
    Registered User
    Join Date
    06-05-2018
    Location
    Missouri
    MS-Off Ver
    2013
    Posts
    11

    Re: Need help with an IF Formula

    Ok so i just looked at it more and the formula is working just fine the problem that im seeing is yes im getting a circular reference error like you are stating so what i think my best bet is to do this.

    is have the formula from the spreadsheet i sent that states =SUM(B2)-SUM(H2:J2) have that in a different column day M and then have the formula =IF(C2<M2,C2,B2-(H2+I2+J2))

  8. #8
    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
    53,048

    Re: Need help with an IF Formula

    It doesnt really matter if you include a direct reference to that cell, or use that cell in a formula elsewhere, then reference that cell - the circ ref error is still there.

    Think of it like this.

    A+B =C
    but
    C+B=A
    see the conundrum?

+ 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. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  2. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  3. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  4. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  5. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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