+ Reply to Thread
Results 1 to 3 of 3

Adding If Statements

  1. #1
    Registered User
    Join Date
    01-03-2019
    Location
    Huddersfield, England
    MS-Off Ver
    2016
    Posts
    1

    Adding If Statements

    Hello,

    I have several if statements which I want to add and they are as follows:
    =(IF(L3="","",IF(K3="",D3,K3))) + (IF(L4="","",IF(K4="",D4,K4))) + (IF(L5="","",IF(K5="",D5,K5))) + (IF(L6="","",IF(K6="",D6,K6)))+so on up to 38.

    I was wondering instead of adding each IF statement separately, is there any formula that would make my life easier and shorten it?

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Adding If Statements

    Until someone sends a shorter formula, this will work.

    HTML Code: 
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Adding If Statements

    Excel 2019 has a IFS statement function which can make your life simpler.
    From an office site:
    Please Login or Register  to view this content.
    https://support.office.com/en-us/art...b-4a39bd951d45
    I haven't had the occasion to mess with it, but it looks helpful.

    Pete

+ 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. Adding a space between 2 MID statements
    By trietta in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-11-2014, 07:46 PM
  2. Adding 2 IF statements together
    By Danielle_LKM in forum Excel General
    Replies: 8
    Last Post: 06-29-2012, 12:48 PM
  3. [SOLVED] Adding to WHERE statements to SQL function
    By zhb12810 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 05:21 PM
  4. [SOLVED] Adding a conditional IF to other IF statements
    By tradersteve in forum Excel General
    Replies: 5
    Last Post: 10-21-2010, 02:12 PM
  5. Adding multiple IF Statements
    By mwinn004mwinn004 in forum Excel General
    Replies: 4
    Last Post: 07-23-2010, 08:13 PM
  6. Adding extra if statements
    By ChalkerL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2009, 04:27 PM
  7. [SOLVED] Adding to IF statements
    By Dubbs in forum Excel General
    Replies: 6
    Last Post: 07-06-2005, 01:05 PM
  8. [SOLVED] Excel adding to IF statements together
    By Dubbs in forum Excel General
    Replies: 3
    Last Post: 06-15-2005, 02: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