+ Reply to Thread
Results 1 to 7 of 7

Formula need to create using many variables and conditions for data sorting

  1. #1
    Registered User
    Join Date
    12-20-2015
    Location
    Chennai
    MS-Off Ver
    2010 & 2013
    Posts
    17

    Formula need to create using many variables and conditions for data sorting

    Greetings,
    I want to create formula for data sorting in attached sheet. Want to create formula in rows 2, 3, 4 & 5 to sort from table given in right side. For example if reference dia upto 12 need to find Fα (F alpha) if module is below 1.75, below 4 & below 10. Formula must able to cover all reference diameters (from 12 to above 400) from row H5 to H23 & all modules.

    Regards Manoj
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Formula need to create using many variables and conditions for data sorting

    Where are the "Lookup" cells for the parameters e.g Diameter and module?

  3. #3
    Registered User
    Join Date
    12-20-2015
    Location
    Chennai
    MS-Off Ver
    2010 & 2013
    Posts
    17

    Re: Formula need to create using many variables and conditions for data sorting

    Sorry John. I just cut & paste & forgot to add cell for Module & Diameter. I am attaching again sheet with Module & reference dia
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Formula need to create using many variables and conditions for data sorting

    Try

    =INDEX($H$5:$M$25,MATCH($C$8,$H$5:$H$25,1)-1+MATCH($C$7,$I$5:$I$7,1),MATCH(RIGHT($A2,2),$H$4:$M$4,0))

    Copy down

    I have assumed LEAD is "Fb"

    See attached
    Attached Files Attached Files
    Last edited by JohnTopley; 12-20-2015 at 05:38 PM.

  5. #5
    Registered User
    Join Date
    12-20-2015
    Location
    Chennai
    MS-Off Ver
    2010 & 2013
    Posts
    17

    Re: Formula need to create using many variables and conditions for data sorting

    Greetings John,

    Thank you very much. It is working.

    Regards

    Manoj

  6. #6
    Registered User
    Join Date
    12-20-2015
    Location
    Chennai
    MS-Off Ver
    2010 & 2013
    Posts
    17

    Re: Formula need to create using many variables and conditions for data sorting

    John,

    This formula is not working for different module combinations. Can you please look into it?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Formula need to create using many variables and conditions for data sorting

    Please post an example (file) showing the problem and expected results.

+ 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. Sorting raw data by date and other variables
    By NIKNIKNIK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2015, 09:00 AM
  2. Create a Formula from Set Variables as ActiveCell
    By lreyes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2015, 09:28 PM
  3. [SOLVED] iferror formula for copying variables under certain conditions doesnt work
    By kronikjb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2015, 02:48 AM
  4. [SOLVED] Need formula for sorting data by based on two variables
    By kl989 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2014, 02:19 AM
  5. [SOLVED] Sorting variables from a file and creating table with some data
    By ajang in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2013, 11:36 PM
  6. Sorting/Placing Data by Three Variables
    By keenercoug in forum Excel General
    Replies: 1
    Last Post: 08-20-2010, 12:49 AM
  7. Excel 2007 : sorting data if conditions are met..
    By bjh3a in forum Excel General
    Replies: 0
    Last Post: 06-03-2009, 11:06 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