+ Reply to Thread
Results 1 to 3 of 3

IF statements

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    except elozef
    MS-Off Ver
    Excel 2003
    Posts
    1

    IF statements

    I am looking for two alternative formulas for a single cell, result dependent whether "forecast" or "actual" is in reference cell. Now both formulas work individually, but when combined deliver FALSE when switched to actuals. I am sure this is in the brackets, but can't figure it out, any idea welcome.

    =IF(S18="forecast",SUM(S36*(S37+S28),IF(S18="actual",SUMIF('EPOS data download'!$C:$C,'Commercial Engine'!T33,'EPOS data download'!$K:$K))))

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,904

    Re: IF statements

    =IF(S18="forecast",S36*(S37+S28),IF(S18="actual",SUMIF('EPOS data download'!$C:$C,'Commercial Engine'!T33,'EPOS data download'!$K:$K),""))
    I think this will help you
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    04-30-2015
    Location
    The Netherlands
    MS-Off Ver
    office 365
    Posts
    195

    Re: IF statements

    =IF(S18="forecast",SUM(S36*(S37+S28)),IF(S18="actual",SUMIF('EPOS data download'!$C:$C,'Commercial Engine'!T33,'EPOS data download'!$K:$K)))

+ 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] Nested if statements containing multiple and statements
    By John M. in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-22-2014, 11:48 PM
  2. Reading If statements and formulating values from if statements
    By crnam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-16-2013, 05:20 AM
  3. Multiple nested IF statements and AND statements
    By TonyGetz in forum Excel General
    Replies: 2
    Last Post: 12-14-2010, 03:07 AM
  4. Replies: 12
    Last Post: 05-15-2009, 08:38 AM
  5. [SOLVED] operator statements, shorting when reusing one of the statements?
    By KR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-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