+ Reply to Thread
Results 1 to 4 of 4

Multiple IF/AND with error

  1. #1
    Registered User
    Join Date
    01-15-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    43

    Multiple IF/AND with error

    Hello all,

    IS there any chance i could combine these two formulas, into one?

    =IF(AND(A5="E1";L5="CURS 1");ROUND(T10*C19;2);ROUND(T10*C21;2))
    IF(AND(A5="E100";L5="CURS 1");ROUND(T7*C19;2);ROUND(T7*C21;2))

    I tried something like this, but i get a #VALUE error:
    =IF(AND(A5="E1";L5="CURS 1");ROUND(T10*C19;2);ROUND(T10*C21;2));IF(AND(A5="E100";L5="CURS 1");ROUND(T7*C19;2);ROUND(T7*C21;2))

    Thank you!
    Last edited by julius2017; 11-05-2017 at 04:49 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Multiple IF/AND with error

    Whats the difference
    =IF(AND(A5="E1";L5="CURS 1");ROUND(T10*C19;2);ROUND(T10*C21;2))

    =IF(AND(A5="E1";L5="CURS 1");ROUND(T10*C19;2);ROUND(T10*C21;2))
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    01-15-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    43

    Re: Multiple IF/AND with error

    My mistake. Post edited!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Multiple IF/AND with error

    =IF(AND(A5="E1";L5="CURS 1");ROUND(T10*C19;2);ROUND(T10*C21;2))
    =IF(AND(A5="E100";L5="CURS 1");ROUND(T7*C19;2);ROUND(T7*C21;2))

    you have a FALSE thats different
    so IF
    A5 does not equal E1 or E100 - then what is the false condition

    going to be difficult to have 2 different false conditions

+ 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 Ranges Error
    By Chypp in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-14-2016, 05:27 AM
  2. Multiple Queries - Getting error
    By hftechno in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2015, 06:53 PM
  3. #Value Error fix when using multiple files
    By dportillo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2014, 01:47 AM
  4. [SOLVED] Run-time error '9': subscript out of range - error occurs on multiple computers except one
    By BrettE in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-06-2014, 11:19 PM
  5. Multiple error handling in VBA
    By VBAIncomp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2013, 11:53 AM
  6. [SOLVED] Multiple Error Handlers
    By nicolaforni in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2013, 02:26 PM
  7. Excel 2007 : multiple error bars
    By itsmekelli3 in forum Excel General
    Replies: 1
    Last Post: 10-09-2011, 01:39 AM

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