MinIF calculated column

cajste

Board Regular
Joined
Oct 22, 2012
Messages
67
Hi,

I'm sure this is a very simple problem, but I can't get it right for some reason. In the Min_ActualTime column I want to find the lowest ActualTIme value for each of the two PathIdent2 categories, and in the same way find the highest ActualTime value in the Max_ActualTime. How do I do that?

I entered the Min and Max values manually to give you an idea of what I want it to look like.

Brgds,
Caj


[TABLE="width: 764"]
<tbody>[TR]
[TD]PathIdent2
[/TD]
[TD]ActualTime
[/TD]
[TD]Min_ActualTime
[/TD]
[TD]Max_ActualTime
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:10
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:14
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:16
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:21
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]17058 2012-05-14 07:23:00
[/TD]
[TD]2012-05-14 08:23
[/TD]
[TD]2012-05-14 08:03
[/TD]
[TD]2012-05-14 08:23
[/TD]
[/TR]
[TR]
[TD]15183 2013-01-29 22:02:00
[/TD]
[TD]2013-01-29 22:59
[/TD]
[TD]2013-01-29 22:59
[/TD]
[TD]2013-01-29 23:25
[/TD]
[/TR]
[TR]
[TD]15183 2013-01-29 22:02:00
[/TD]
[TD]2013-01-29 23:25
[/TD]
[TD]2013-01-29 22:59
[/TD]
[TD]2013-01-29 23:25
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hey,


Note sure if it's just me but, it's hard to understand what you're really looking for so I'm just gonna take a guess here :):


What if you use the MINX with the EARLIEST? (calculated column)


do you have a workbook that you could share to see the data model and maybe come up with a solution?


best!
 
Upvote 0
Caj,

Check out the file https://dl.dropbox.com/u/54063091/Suggestion.xlsx

It's only a suggestion as I don't know if you need a measure or a calculated column. I did the calculated column as I'm assuming that you want to use those MIN and MAX against the records of your table to determine a variance and some sort of range.

So basically I did this:
1. Create a helper dates table
2. Create 2 formulas (column MIN and Column MAX)

check them out and let me know what you think. If you want the measure approach we could do that as well but it depends on how you're gonna be analyzing the data.

best!

Edit: you know what? I forgot to take in consideration the other columns :S, question, do you need a calculated column or a measure?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,937
Messages
6,175,511
Members
452,650
Latest member
Tinfish

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top