+ Reply to Thread
Results 1 to 3 of 3

Using a list to chose which function to use in a cell?

  1. #1
    Registered User
    Join Date
    07-19-2005
    Posts
    26

    Using a list to chose which function to use in a cell?

    I've got a cell that contains a MAX or MIN function. I would like to use a list to chose which of them to use in a particular instance, but it's not immediately obvious to me how to do this - or if it's even possible. Any ideas on this?
    Those of you who think you know everything are annoying to those of us who do!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Using a list to chose which function to use in a cell?

    Why don't you use a helper column?

    Use Data Validation to chose Min or Max

    then the formula in your cell is quite Simple =if(A1="Min", Min(B20:B40), Max(B20:B40))
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    07-19-2005
    Posts
    26

    Re: Using a list to chose which function to use in a cell?

    That will work, thanks! I've got an IF in there already, so now I'm nested IF territory - which typically confuses me MAX!

+ 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. Vlookup to chose correct list depending on a drop down list selection
    By Bandit_750 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-06-2015, 06:22 PM
  2. Replies: 3
    Last Post: 07-05-2015, 12:45 AM
  3. Replies: 1
    Last Post: 08-12-2014, 01:37 AM
  4. Simple Survey Help - Chose Answer from List , Calculate Hidden Value
    By Meiko in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-19-2014, 05:01 PM
  5. Chose a Value in a dropdown List using VBA
    By tharindudk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2014, 07:35 PM
  6. Replies: 9
    Last Post: 08-05-2008, 09:25 AM
  7. [SOLVED] How can I set up to chose more than 1 item from a dropdown list (.
    By microchick in forum Excel General
    Replies: 4
    Last Post: 04-07-2005, 02:06 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