Results 1 to 10 of 10

Check multiple conditions for proper value

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-15-2012
    Location
    Dallas, TX
    MS-Off Ver
    2019
    Posts
    167

    Check multiple conditions for proper value

    In my attached workbook... I want to sum TRADES U2. I first need to check the value of TRADES A2 to use the appropriate numbers from INSTRUMENTS.

    I have attempted to use IF(OR and IFS. In both cases, I receive an error, either 'too many arguments', or 'too few arguments'.

    As an example, using IFS...
    =IFS(A2="NQ","((((G2*I2)+(J2*K2))-((N2*O2)+(P2*Q2)))*INSTRUMENTS!D4)-INSTRUMENTS!I4",A2="MNQ","((((G2*I2)+(J2*K2))-((N2*O2)+(P2*Q2)))*INSTRUMENTS!D5)-INSTRUMENTS!I5",A2="ES","((((G2*I2)+(J2*K2))-((N2*O2)+(P2*Q2)))*INSTRUMENTS!D6)-INSTRUMENTS!I6",A2="MES")",((((G2*I2)+(J2*K2))-((N2*O2)+(P2*Q2)))*INSTRUMENTS!D7)-INSTRUMENTS!I7")
    In this case, TRADES A2 = ES, so I need to use the numbers in INSTRUMENTS Row 6...
    ((((G2*I2)+(J2*K2))-((N2*O2)+(P2*Q2)))*INSTRUMENTS!D6)-INSTRUMENTS!I6
    By itself, this works. However, I cannot get it to work from within an IF(OR or IFS formula.

    Thoughts?
    Attached Files Attached Files
    Last edited by cableghost; 01-22-2024 at 01:59 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] IF Statements to check multiple conditions
    By Iamtrying in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2019, 09:12 PM
  2. [SOLVED] Excel Formula to check if multiple conditions are met
    By Drscott21 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-04-2019, 08:11 AM
  3. [SOLVED] Check multiple conditions across all columns
    By shreeja178 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-11-2014, 05:09 AM
  4. Check for Multiple Conditions, Random Assign IF True
    By young_workinprogress in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-28-2013, 10:56 AM
  5. [SOLVED] boolean function to check if multiple conditions are met
    By edjohns in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2012, 11:26 AM
  6. Check multiple conditions in a Formula
    By ClikClak in forum Excel General
    Replies: 3
    Last Post: 10-06-2010, 07:23 PM
  7. Replies: 5
    Last Post: 07-14-2009, 11:22 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