+ Reply to Thread
Results 1 to 8 of 8

Returning max. min value that meet certain conditions in two other columns

  1. #1
    Registered User
    Join Date
    01-17-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Returning max. min value that meet certain conditions in two other columns

    I have hourly temperature data with the data currently in three columns as in month, day and hour. The next column contains temperature data. Is there an easy way to create a table/list of max and min temps for each day please. I am sorry the title is vague I don't know how else to explain it succintly! :-)
    Attached Files Attached Files
    Last edited by AileenR; 01-17-2013 at 03:23 AM.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Help with a formula please

    First off, read the rules, you are violating #1 : http://www.excelforum.com/forum-rule...rum-rules.html
    Second, a sample including what you have and expected results would definitely help

    Add a File - click advanced (next to quick post), scroll down until you see "manage attachments", click that and select "add files" (top right corner). click "select files", find your file, select file, click "upload", when the file shows up at the bottom left click 'done"(bottom right). click "submit reply"(remember the 1 MB limit, you may have to crop your file down to get it to a size that can be uploaded...)
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Help with a formula please

    AileenR,
    you've uploaded example but also see first thing dreadwolf asked:

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Returning max. min value that meet certain conditions in two other columns

    Insert helper column to determine date and use Pivot table:
    Attached Files Attached Files

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Returning max. min value that meet certain conditions in two other columns

    Maybe in G2 and copy down this ARRAY formula

    =MAX(IF($B$2:$B$10000=B2,IF($C$2:$C$10000=C2,IF($D$2:$D$10000=D2,$F$2:$F$10000))))

    In H2 and copy down

    =Min(IF($B$2:$B$10000=B2,IF($C$2:$C$10000=C2,IF($D$2:$D$10000=D2,$F$2:$F$10000))))

    Edit: What is "Ferny Greek"?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    01-17-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Returning max. min value that meet certain conditions in two other columns

    Thanks, much appreciated! I was trying to do it with pivot tables but you do it much better.

  7. #7
    Registered User
    Join Date
    01-17-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Returning max. min value that meet certain conditions in two other columns

    Ferny Creek (not Greek) is a location in Melbourne near strawberry runner production

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Returning max. min value that meet certain conditions in two other columns

    Quote Originally Posted by AileenR View Post
    Ferny Creek (not Greek) is a location in Melbourne near strawberry runner production
    Thanks for the info!

+ 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