Return Max Date

SuperSquirrel

New Member
Joined
Aug 18, 2017
Messages
9
I'm using the following formula to look up the number of errors a specific person had, and the first time this person was contacted.

=IF(C13=0,"",SMALL(IF(Table1
Code:
=A13,Table1[Action Date]),1))[/COLOR][/B]

my reasoning is if the previous cell is 0, then do nothing, I don't care since they have no entries in my table.

If it's not 0, then I want to know the first time that the person was contacted

now my wonderful code is working, for the FIRST time it hits a non-0, but returning 01/00/00 for the the remaining non-0 values...
 
Last edited by a moderator:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
I'm an idiot... should be return MIN date not MAX

I tried a different formula - =IF(C13=0,"",MIN(IF(Table1
Code:
=A13,Table1[Action Date]))) but the EXACT same results 

[COLOR=#333333]ID Count MIN_DATE[/COLOR]
[COLOR=#333333]3317	0	[/COLOR]
[COLOR=#333333]3464	3	08/17/17[/COLOR]
[COLOR=#333333]3414	2	01/00/00[/COLOR]
 
Upvote 0
I'm actually a bigger idiot.

I fixed it

=IF(C6=0,"",MIN(VLOOKUP(A6,Table1,7,FALSE)))

Thank you all for your positive excel thoughts to help me through my Excel crisis lol sometimes you just gotta talk it out.
 
Upvote 0
nope ... it didn't work after all...

I'm just going to stop posting until someone with a bigger brain than me responds... that doesn't take much apparently *hangs head in excel shame*
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,346
Members
452,638
Latest member
Oluwabukunmi

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