find first instance, diplay value from another column

ridgetown_rick

Board Regular
Joined
Aug 28, 2002
Messages
193
In col A, I have the dates. I would like to create a formula in all the other columns in row 1 that will look fror the first instance of a value in each column and return the date that that threshold value is reached.

The value I am looking for is 3, but the values in the columns might look like 0 1 1 1 3 2 1 3 4 2 0 etc. I want to return the date of the FIRST instance of 3. How would I do this?
Thanks
Rick
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I haven't used VLOOKUP for something like this before. I can't see how it would do what I need.

How would I return the date of the FIRST instance only?
I want this date to be displayed in a single cell at the top of the column.

Rick
 
Upvote 0
ridgetown_rick said:
I haven't used VLOOKUP for something like this before. I can't see how it would do what I need.

How would I return the date of the FIRST instance only?
I want this date to be displayed in a single cell at the top of the column.

Rick

Are you looking for something like this?
Book7
ABCDE
121-12-0317-2-0313-2-03
2DateT1T2T3
313-2-03123
417-6-03013
517-7-03111
616-10-03100
717-2-03130
827-11-03133
919-4-03011
1023-6-03232
1119-12-03022
1221-12-03332
139-8-03032
1413-6-03233
1515-9-03112
162-11-03223
17
Sheet1


The formula in B1 is...

=INDEX($A$3:$A$16,MATCH(3,B$3:B$16,0))
 
Upvote 0
sorry i dont mean to hijack this thread, however i have need of similar expertise. the variation to my question is i want to look for the first instances of a particular value within groupings. for eg. i want to find the first time a person's monthly salary reached a set figure and return the date in a separate column.


Name Date Salary Result
John Doe 1/1/10 450 N/A
John Doe 2/1/10 500 2/1/10
john Doe 3/1/10 500 N/A
Mary Doe 11/1/09 380 N/A
Mary Doe 12/1/09 380 N/A
Mary Doe 1/1/10 500 1/1/10

would really appreciate the hep thanks
 
Upvote 0
sorry i dont mean to hijack this thread, however i have need of similar expertise. the variation to my question is i want to look for the first instances of a particular value within groupings. for eg. i want to find the first time a person's monthly salary reached a set figure and return the date in a separate column.


Name Date Salary Result
John Doe 1/1/10 450 N/A
John Doe 2/1/10 500 2/1/10
john Doe 3/1/10 500 N/A
Mary Doe 11/1/09 380 N/A
Mary Doe 12/1/09 380 N/A
Mary Doe 1/1/10 500 1/1/10

would really appreciate the hep thanks

Is the max value the set figure?
 
Upvote 0
the excrcise is really to determine when a person has reached the top of their pay grade. so the set value would be the max value for group of individuals in the same scale.
 
Upvote 0
the excrcise is really to determine when a person has reached the top of their pay grade. so the set value would be the max value for group of individuals in the same scale.

D2, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IF(MATCH(MAX(IF($A$2:$A$7=A2,$C$2:$C$7)),
    IF($A$2:$A$7=A2,$C$2:$C$7),0)=ROW()-ROW($C$2)+1,$B2,"N/A")
 
Upvote 0
thank you for your very prompt response. I am tryin to get this to work however; i need to be able to search for the top of the salary scale as the figure may not be in the table. it is possible that nobody has reached the top of their pay scale so its not necessarily the thier most recent largest payment. could you tel me how to modify this to work like that? where i put the top in the code and then ask it to find the first instnaces of that inputted figure?

much appreciated.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,416
Messages
6,119,386
Members
448,891
Latest member
tpierce

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