+ Reply to Thread
Results 1 to 7 of 7

Multiple Logical Tests Required

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    Derby, England
    MS-Off Ver
    Excel 2003
    Posts
    64

    Multiple Logical Tests Required

    Hey,

    I was wondering if someone could help me with the attached "Sample" document.

    What I need is for the worksheet named "D&T - Formula", I need the table to be formulated with the correct information.

    For example, if the drop down list in cell C2 is "Copper"

    And the k value in cell G8, is higher than the value in cell G14 in the worksheet named "BS 74302011", but lower than the value in cell G15 in the worksheet named "BS 74302011". Row 15 of the "D&T - Formula" should be populated with the information from the worksheet named "BS 74302011" with the details of that of the lower value.
    (See attached "Example-Complete").

    I would then need to do this for the Aluminium and Steel options, using the drop down list in cell C2 of the "D&T - Formula" worksheet, but with the same outcome as the above.

    The values in cell G8 of the "D&T - Formula" worksheet will continue to change.

    Please let me know if further information is required and I apologise if I have not explained this very well!

    Best regards,

    Kate Weedon
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Multiple Logical Tests Required

    see if this works for you
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-04-2013
    Location
    Derby, England
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: Multiple Logical Tests Required

    That's brilliant thanks rcm.

    Is there any way to do it without the a,b,c...etc in row 17? (Just for neatness).

    If not, it's no problem I'll just drop it to a lower row.

    Thanks again,
    Kate

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Multiple Logical Tests Required

    Sure there is, I just included them to show how it was done
    Just substitute the referenced cells with the letter in the formula

  5. #5
    Registered User
    Join Date
    01-04-2013
    Location
    Derby, England
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: Multiple Logical Tests Required

    Thank you rcm!

    My apologies for the questions, I'd just like to learn! , please can you let me know where you started?

    Best regards,

    Kate

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Multiple Logical Tests Required

    I cleaned it up and checked for errors... also I had to recoded so your excell version could run it.

    The key function is MATCH() and it is used in this instance as an approximator (the next lowest record)

    In conjuntion with match() which results in the row# I used INDIRECT() which allows to reference an address by concatenating a string.

    The error checking is done for clarity. If no record is found just leave the field blank.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-04-2013
    Location
    Derby, England
    MS-Off Ver
    Excel 2003
    Posts
    64

    Re: Multiple Logical Tests Required

    Thank you so much!

+ 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