+ 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
    23

    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 Guru
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    6,969

    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))
    Please Avoid Joining My List Of Blocked Users by:

    Saying Please and Thank you.

    Making requests not demands.

    Checking back on your post. I will not edit any post after 4 days.

    Marking threads as closed once your issue is resolved. How? The tools at the top

    Any reputation (*) points appreciated. None of us gets paid here.

    If you found someone's input useful, please take a second to click the * at the bottom left to let them know

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

    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)

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