+ Reply to Thread
Results 1 to 7 of 7

IF formula to add multiple cells and give cell value for true and a MAX for false

  1. #1
    Registered User
    Join Date
    10-18-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    11

    IF formula to add multiple cells and give cell value for true and a MAX for false

    I require an IF formula that adds the value from 4 cells and if the value is greater than 16 then I require the value of Cell A1 to appear. if the addition of the 4 cells adds up less than 16 then I require the cell to show 16.

    Below is in descriptive terms what I require the formula to do. I just need the correct wording in the formula.

    =IF(A1+A2+A3+A4>16, (True "Value of A1") , (False"16"))

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-18-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    11

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    Hi Kersplash,
    Thanks for your suggestion, but that formula didn't work.

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    Works for me, what about it didn't work?

  5. #5
    Registered User
    Join Date
    10-18-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    11

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    it came up with #REF

    The actual cells I am working with are shown below.
    =IF(D93+D82+D84+D95+D96>16,D93,16)

    I even tried the following
    =IF(D93+D82+D84+D95+D96>16,"D93","16")

    and in both cases it came up with #REF

  6. #6
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    If I use your first formula I get what you requested to happen.

    The second formula returns either D93 or 16 as text.

    Can you attach your example?

  7. #7
    Registered User
    Join Date
    10-18-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    11

    Re: IF formula to add multiple cells and give cell value for true and a MAX for false

    I found the problem. one of the cells in the addition had brought in an error of #REF which was throwing the formula out.

    thank you for your time. all fixed now.

+ 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. True/False for Multiple conditions and formats in a range of cells
    By Vatoemperor in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-13-2015, 03:51 PM
  2. Replies: 2
    Last Post: 05-26-2015, 07:29 PM
  3. [SOLVED] Issue getting Excel to give me a win or lose instead of true or false for probability
    By redrod87 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-21-2014, 05:10 AM
  4. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  5. Multiple True or False + Sum of corresponding cells
    By CheezZZ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-04-2013, 10:18 AM
  6. Replies: 3
    Last Post: 05-12-2011, 07:01 PM
  7. Formula that will give me True or False results
    By Reenee in forum Excel General
    Replies: 2
    Last Post: 02-02-2009, 10:36 AM

Tags for this Thread

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