+ Reply to Thread
Results 1 to 8 of 8

Combine Multiple Working IF Formulas in One Cell

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    US
    MS-Off Ver
    Office 365 ProPlus
    Posts
    33

    Combine Multiple Working IF Formulas in One Cell

    I am working on a spread sheet to calculate price per foot per item type. In the attached example sheet, I have 3 working formulas in the green cells (L4, M4 and N4). I am wanting/needing all three combined as one formula in L4.

    If cells D, E, and F will have all "0" or left blank, cell L4 is to remain blank.

    For the calculation a number grater than "0" will be entered into either cell D, E, or F to give the total. The sample sheet is shown with 10 entered in cells D,E, and F for demonstration purposes only.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-28-2018
    Location
    Houston, TX
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    127

    Re: Combine Multiple Working IF Formulas in One Cell

    The formula you need in cell L4 is below. Note that when you add blank cells together, the result is 0. The "if" statement condition uses this principle.

    =IF(D4+E4+F4=0,"",C4*((D4*I4+G4)+(E4*J4+H4)+(F4*K4+H4)))

  3. #3
    Registered User
    Join Date
    01-06-2014
    Location
    US
    MS-Off Ver
    Office 365 ProPlus
    Posts
    33

    Re: Combine Multiple Working IF Formulas in One Cell

    Thank you brant.wheeler,
    However it didn't work as needed.
    Here I used your suggestion and it gave me 100 assuming 10 in all C,D, and E.
    Sample for IF screenshot1.PNG

    In cell D, I used 10 and the answer is 20 as shown in L4, but the formula outputs 50 instead of 20.
    Sample for IF screenshot2.PNG

    In cell E, I used 10 and the answer is 35 as shown in M4, but the formula outputs 60 instead of 35.
    Sample for IF screenshot3.PNG

    In cell F, I used 10 and the answer is 45 as shown in N4, but the formula outputs 70 instead of 45.
    Sample for IF screenshot4.PNG

  4. #4
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Combine Multiple Working IF Formulas in One Cell

    Hi,

    Use this in L4:

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

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2405
    Posts
    13,424

    Re: Combine Multiple Working IF Formulas in One Cell

    If I understand correctly this in L4 and filled across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  6. #6
    Registered User
    Join Date
    01-06-2014
    Location
    US
    MS-Off Ver
    Office 365 ProPlus
    Posts
    33

    Re: Combine Multiple Working IF Formulas in One Cell

    Thank you jtakw,
    This one seems to be working as needed.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: Combine Multiple Working IF Formulas in One Cell

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Valued Forum Contributor jtakw's Avatar
    Join Date
    05-05-2018
    Location
    CA, USA
    MS-Off Ver
    2016
    Posts
    668

    Re: Combine Multiple Working IF Formulas in One Cell

    You're welcome, thanks for the feedback and rep.

+ 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. [SOLVED] Multiple COUNTIFS formulas in one cell is not working.
    By Jriggerz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2017, 09:22 AM
  2. [SOLVED] Formula to combine multiple formulas into a single cell
    By pdx-adm-trm01 in forum Excel General
    Replies: 7
    Last Post: 03-12-2014, 02:26 PM
  3. [SOLVED] VBA to combine results from multiple workbooks to one spreadsheet - loop/copy not working
    By wonderdunder in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-10-2014, 11:58 AM
  4. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  5. [SOLVED] Macro to combine multiple cell formulas
    By ameerhamzauk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-05-2012, 03:27 PM
  6. [SOLVED] Combine two working formulas (syntex error)
    By berger01 in forum Excel General
    Replies: 6
    Last Post: 05-02-2012, 01:06 PM
  7. Using an IF to combine multiple formulas
    By sharkfoot in forum Excel General
    Replies: 5
    Last Post: 04-02-2006, 01:21 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