Min Date

Some videos you may like

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
302
Office Version
365
Platform
Windows
a2:a1000 and b2:d10000 hope thats right..... ive to put kids bed so be a while b4 i check back later
 

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
302
Office Version
365
Platform
Windows
Yes at A2 to a1000 corresponding dates are in b2:b1000
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,179
Yes at A2 to a1000 corresponding dates are in b2:b1000
Jeff has already provided the formula that should work, that is, control+shift+enter, not just enter...

=MIN(IF($A$2:$A$1000=$E2,$B$2:$B$1000)

where E2 houses an employee of interest.

Adding some audit, still control+shift+enter...

=IF(COUNTIFS($A$2:$A$1000,$E2),MIN(IF($A$2:$A$1000=$E2,$B$2:$B$1000)),"")

If you don't still get the correct result (you claimed getting 0). If this is still the case, we will some diagnostics...
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,179
Jeff has already provided the formula that should work, that is, control+shift+enter, not just enter...

=MIN(IF($A$2:$A$1000=$E2,$B$2:$B$1000)

where E2 houses an employee of interest.

Adding some audit, still control+shift+enter...

=IF(COUNTIFS($A$2:$A$1000,$E2),MIN(IF($A$2:$A$1000=$E2,$B$2:$B$1000)),"")

If you don't still get the correct result (you claimed getting 0). If this is still the case, we will some diagnostics...
Don't try at all anything. You first need to decide what is the FROM sheet and what is the TO sheet. Put othwerwise: FROM = source, TO = destination.

The FROM sheet is the sheet from which the min date must come for the name that is in the TO sheet.

Would you state which sheet of yours, Employee or Attandance, is the FROM (source) sheet?
 

Watch MrExcel Video

Forum statistics

Threads
1,102,095
Messages
5,484,639
Members
407,459
Latest member
DICKSON KIMEMIA

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
  • CELL FORMAT - IF CONDITION
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...
Top