Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
here's my dilema. I have about 4000 entyries in a table that gives peoples' id number as well times. Is there a way for excel to compare the id numbers and take the earliest time from any id numbers that are the same? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=MIN(IF(A2:A4000="ID_Number",B2:B4000))
entered with ctrl + shift & enter remove the quotations if the id number is numerical and not a text number -- Regards, Peo Sjoblom "Matt H" wrote in message ... Hi all, here's my dilema. I have about 4000 entyries in a table that gives peoples' id number as well times. Is there a way for excel to compare the id numbers and take the earliest time from any id numbers that are the same? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm a little confused so just to make sure everyone gets it
A B C ID NUMBER Times 1 10:00 AM--- 2 10:10 AM--- 3 10:30 AM 3 10:20 AM--- 3 10:31 AM 4 12:05 PM---- 4 12:09PM In Column C i would like to get the selected values into column c and if no value get transfered into column c, the cell will just be blank. Also, what does "enterd with ctrl+alt+shift mean" Thanks for all your time and effort. -Matt "Peo Sjoblom" wrote: =MIN(IF(A2:A4000="ID_Number",B2:B4000)) entered with ctrl + shift & enter remove the quotations if the id number is numerical and not a text number -- Regards, Peo Sjoblom "Matt H" wrote in message ... Hi all, here's my dilema. I have about 4000 entyries in a table that gives peoples' id number as well times. Is there a way for excel to compare the id numbers and take the earliest time from any id numbers that are the same? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Matt
It is entered with ctrl + shift & enter not "ctrl+alt+shift" and it means that you are entering an array formula. Simply hold down the Ctrl and Shift key and press the Enter key. Excel puts squigly brackets around it to indicate that it is an array formula. Every time it is edited it must be entered this way, you cannot type the brackets in yourself. Read up on array formulas if you need to know more. Peo's elegant equation will enter the minimum time for each ID No in column C, if you only want an entry in Col C where that row is the minimum time then the following variation will do this, again it must be entered with Ctrl+Shift & Enter =IF(MIN(IF(A$2:A$4000=A2,B$2:B$4000))=B2,MIN(IF(A$ 2:A$4000=A2,B$2:B$4000)),"") "Matt H" wrote: I'm a little confused so just to make sure everyone gets it A B C ID NUMBER Times 1 10:00 AM--- 2 10:10 AM--- 3 10:30 AM 3 10:20 AM--- 3 10:31 AM 4 12:05 PM---- 4 12:09PM In Column C i would like to get the selected values into column c and if no value get transfered into column c, the cell will just be blank. Also, what does "enterd with ctrl+alt+shift mean" Thanks for all your time and effort. -Matt "Peo Sjoblom" wrote: =MIN(IF(A2:A4000="ID_Number",B2:B4000)) entered with ctrl + shift & enter remove the quotations if the id number is numerical and not a text number -- Regards, Peo Sjoblom "Matt H" wrote in message ... Hi all, here's my dilema. I have about 4000 entyries in a table that gives peoples' id number as well times. Is there a way for excel to compare the id numbers and take the earliest time from any id numbers that are the same? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks so much "Ian Grega" wrote: Matt It is entered with ctrl + shift & enter not "ctrl+alt+shift" and it means that you are entering an array formula. Simply hold down the Ctrl and Shift key and press the Enter key. Excel puts squigly brackets around it to indicate that it is an array formula. Every time it is edited it must be entered this way, you cannot type the brackets in yourself. Read up on array formulas if you need to know more. Peo's elegant equation will enter the minimum time for each ID No in column C, if you only want an entry in Col C where that row is the minimum time then the following variation will do this, again it must be entered with Ctrl+Shift & Enter =IF(MIN(IF(A$2:A$4000=A2,B$2:B$4000))=B2,MIN(IF(A$ 2:A$4000=A2,B$2:B$4000)),"") "Matt H" wrote: I'm a little confused so just to make sure everyone gets it A B C ID NUMBER Times 1 10:00 AM--- 2 10:10 AM--- 3 10:30 AM 3 10:20 AM--- 3 10:31 AM 4 12:05 PM---- 4 12:09PM In Column C i would like to get the selected values into column c and if no value get transfered into column c, the cell will just be blank. Also, what does "enterd with ctrl+alt+shift mean" Thanks for all your time and effort. -Matt "Peo Sjoblom" wrote: =MIN(IF(A2:A4000="ID_Number",B2:B4000)) entered with ctrl + shift & enter remove the quotations if the id number is numerical and not a text number -- Regards, Peo Sjoblom "Matt H" wrote in message ... Hi all, here's my dilema. I have about 4000 entyries in a table that gives peoples' id number as well times. Is there a way for excel to compare the id numbers and take the earliest time from any id numbers that are the same? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comparing cells when they are not exactly the same | Excel Discussion (Misc queries) | |||
comparing cells | Excel Worksheet Functions | |||
Comparing two cells | Excel Discussion (Misc queries) | |||
Comparing Cells | Excel Worksheet Functions | |||
Comparing Cells | Excel Worksheet Functions |