Return value for 1st, 2nd, 3rd, 4th occurance

Bany26

New Member
Joined
Apr 10, 2018
Messages
4
Dear all,

could you please help me return different notes for old and new entries considering the date (column A)? I would need for newest row insert note ''valid'' in column C. And for rest - older rows, I would need note ''old'' in column C.



DateNameresult
20.9.2016Kevinold
7.2.2017Kevinold
8.5.2017Kevinold
10.4.2018Kevinvalid
22.3.2018Alexanderold
10.4.2018Alexandervalid
10.4.2018Mikevalid

<colgroup><col><col><col></colgroup><tbody>
</tbody>


thank you in advance
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
this works if column A is true dates, (e.g. replace the . with - or /);


Excel 2013/2016
ABC
1DateNameresult
220/09/2016Kevinold
307/02/2017Kevinold
408/05/2017Kevinold
510/04/2018Kevinvalid
622/03/2018Alexanderold
710/04/2018Alexandervalid
810/04/2018Mikevalid
Sheet2
Cell Formulas
RangeFormula
C2{=IF(MAX(IF($B$2:$B$8=B2,$A$2:$A$8))=A2,"valid","old")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,242
Members
448,951
Latest member
jennlynn

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