PHIL.Pearce84

Board Regular
Joined
May 16, 2011
Messages
152
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a rather large sheet containing vehicle tracking information, I need to identify the first trip for each day for each driver. I have the formula below, which seems to work over a short range, however when expanded to incorporate all entries I get a completely different value?

Any help would be greatly appreciated.


=MIN(IF(AND($C$2:$C$20964=Q1,$D$2:$D$20964=$P$2),$G$2:$G$20964,""))

Q1=Persons Name
P2=Date
 

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
try

=MIN(IF($C$2:$C$20964=Q1,IF($D$2:$D$20964=P2,$G$2:$G$20964)))
and then use
Control + Shift + enter
to setup as an array formula and get {} around the formula
{=MIN(IF($C$2:$C$20964=Q1,IF($D$2:$D$20964=P2,$G$2:$G$20964)))}

g2 to G20964 must have values in and not be blank
 
Upvote 0

Forum statistics

Threads
1,215,350
Messages
6,124,431
Members
449,158
Latest member
burk0007

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