Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Need Help Comparing Cells

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Need Help Comparing Cells

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Need Help Comparing Cells

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Need Help Comparing Cells

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Need Help Comparing Cells


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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing cells when they are not exactly the same Garry Excel Discussion (Misc queries) 2 April 2nd 07 10:26 AM
comparing cells Help me Excel Worksheet Functions 1 May 9th 06 10:01 PM
Comparing two cells Mandeep Dhami Excel Discussion (Misc queries) 2 March 30th 06 07:30 AM
Comparing Cells gdeleos Excel Worksheet Functions 2 March 16th 06 08:22 PM
Comparing Cells EXCEL101 Excel Worksheet Functions 3 August 30th 05 12:51 AM


All times are GMT +1. The time now is 12:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"