+ Reply to Thread
Results 1 to 6 of 6

Combining Three Separate Formulas

  1. #1
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Question Combining Three Separate Formulas

    Hello,
    I need help combining three separate formulas into one. The formulas are listed below.

    If the value is equal the result is an empty cell.
    Please Login or Register  to view this content.
    If the value is greater than for the first formula proceed to the next formula, if it’s less than or equal to then either V30842 or an empty cell.
    Please Login or Register  to view this content.
    If the value is less than for the first formula proceed to the next formula, if it’s greater than or equal to then either V30842 or an empty cell.
    Please Login or Register  to view this content.
    Thanking you in advance for any and all help you can provide.
    Last edited by artiststevens; 01-31-2014 at 05:07 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Combining Three Separate Formulas

    You have syntax errors in all of the above formulas. I will guess at what you really mean.

    Note that you do not an explicit test for R30850<S30850 at the end because you have already checked for = and > so < is the only possibility left.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Combining Three Separate Formulas

    Hello StringJazzer,
    Thank you for taking the time to assist me with this problem. I appreciate you taking a shot at guessing what I meant but doesn't quite work in some instances. let me try to expalin it better.

    The following code is the original code.
    Please Login or Register  to view this content.
    Now all I want to do is add the following.
    Please Login or Register  to view this content.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Combining Three Separate Formulas

    The condition in your second formula is unrelated to the conditions in your first formula. Do you want the condition in the second formula to be evaluated if neither of the conditions from your first formula is TRUE?


    BTW an alternative way to write the first formula is

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


    Note that in your formula and mine, if the condition is false you will see FALSE returned.

  5. #5
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    Re: Combining Three Separate Formulas

    Thank you very much StringJazzer I was able to get it to work.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Combining Three Separate Formulas

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ 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. Combining Data from Separate Worksheets [Please Help]
    By rockproper in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 12:22 PM
  2. Combining separate IF Statements
    By mgollwit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2011, 12:43 PM
  3. Combining records from two separate sheets
    By kbmtech in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2010, 03:18 PM
  4. Combining two separate functions into one function
    By Capa in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 02-19-2010, 02:47 PM
  5. Replies: 3
    Last Post: 02-16-2010, 02:45 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