+ Reply to Thread
Results 1 to 6 of 6

[SOLVED]True, False conditions and numbers to grab

  1. #1
    Registered User
    Join Date
    02-20-2011
    Location
    Warsaw
    MS-Off Ver
    Excel 2007
    Posts
    3

    [SOLVED]True, False conditions and numbers to grab

    Hi

    I'm am a total noobie when it comes to Excel, tried it few times in the past for very simple numbers.
    Now i was asked if i can do "simple" spreadsheet.
    I have stuck where i have to take the lowest number with FALSE in "bid" column and return it to Minimum sell field. Plus get the highest number with TRUE and return it to Maximum buy.
    Number of rows with True and False is different every time and sometimes even mixed.

    I can bet it is very simple but i just cant find the right function.
    Thanks for any help.
    Attached Files Attached Files
    Last edited by S3b; 02-20-2011 at 03:13 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,912

    Re: True, False conditions and numbers to grab

    Here is one solution
    Attached Files Attached Files
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-20-2011
    Location
    Warsaw
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: True, False conditions and numbers to grab

    That was first thing i've done but it will not work.
    I need to divide them in two groups "False" and "True" and then get the lowest and the highest number from each group.
    False will not always be from B2 to B63.
    Last edited by S3b; 02-20-2011 at 01:24 PM.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: True, False conditions and numbers to grab

    Try this
    For Min sell
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter, not just Enter

    For Max buy
    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter

    Hope this helps
    Attached Files Attached Files
    Last edited by Marcol; 02-20-2011 at 03:16 PM. Reason: Corrected formulae
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    02-20-2011
    Location
    Warsaw
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: True, False conditions and numbers to grab

    Sorry but i have no idea if i can reverse them. I am clueless on how to do this. All i know is that i have a spreadsheet i've uploaded and need to get highest number with True next to it and lowest with False.
    Those two numbers need to be displayed in different cells.


    Edit.

    Got Solution

    In G6:
    =MIN(IF(NOT(B2:B86),A2:A86))

    In G9:
    =MAX(IF(B2:B86,A2:A86))

    Both formula must be committed with Control+Shift+Enter, not just enter.
    Thx to Mr.Jon von der Heyden
    Last edited by S3b; 02-20-2011 at 03:13 PM.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: [SOLVED]True, False conditions and numbers to grab

    Sorry to late fixing my post, same solution.

    The reason for asking if you could reverse the True/False was to try to make the formulae work for the whole column, rather than a limited range
    Last edited by Marcol; 02-20-2011 at 03:21 PM.

+ 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