+ Reply to Thread
Results 1 to 2 of 2

Multi Conditions

  1. #1
    Registered User
    Join Date
    03-07-2005
    Posts
    4

    Multi Conditions

    I thought this might be a VBA type of question and so I thought of posting it here to see what kind of response I'd get due to the multiconditions of my need.

    I’m trying to create a set of multi-conditions in Excel.

    See attached example (imagine it's an .xls).

    I need the formula to work thus:

    B2 = A1+6
    C2 = A2-B2-15

    IF C2 =(0-12) OR (-54 to -42),

    I then want to know:

    When the next C# >12, <-54

    So, after

    A(#)-B2-15 >12, <-54
    [N.B. This part of the formula will use the same B2 value used to find when C2 =(0-12) OR (-54 to -42)]

    I then want the formula to end/close, and to start again by creating a new value in the B column, and then apply the above conditions.

    So, in the above table with A column values, C2=2. So, because it’s between 0-12, I then want to know when A(#)-B2-15 > 12. In this case, C4=36. So then, I would want to get a new value in B5(10546) and take it from there.

    If, after C2=2, there were other values that were between 0-12 in the C column before a value of >12 or <-54(subsequent to value of -54 to -42), I would need them to be highlighted as well.

    It may be necessary to create two sets of columns:

    one for the 0-12, >12 range
    one for the -54 to -42, <-54 range

    Also, ideally, would it be possible to only let the values I am looking for appear and ignore the values that are not relevant.

    I hope that is clear. Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-07-2005
    Posts
    4
    Hi,

    I've noticed there's no response to this. I know it's a complicated query but I am sure there is a way to get Excel to manipulate the data in the way that I want.

    I think it has something to do with the Indirect Function - if anyone is familiar with that?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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