Forum Discussion
matt0020190
Dec 13, 2021Brass Contributor
Second to last value from table with condition
Hi experts Can you help me with the below? I have a list of cash values in a table, example as follows by a rotating week number (1-4). A ------------ B 1 ----------- 40 2------------- ...
OliverScheurich
May 03, 2023Gold Contributor
=IFERROR(LARGE(IF((E1:E1788=C1796)*(AB1:AB1788<>""),ROW(1:1788)),2),"")You are welcome. This formula returns the intended result. The other 2 formulas are in cells G1798 and G1799 in the attached file.
SatyaGupta_In
May 04, 2023Brass Contributor
Hi,My data rows are 1433 - 1788 but after applying above formula it is picking up results outside of this range. Anything further can be done or should I resort to old formula earlier suggested by you. Thanks in advance for your help OliverScheurich
- SatyaGupta_InMay 05, 2023Brass Contributor
i tried row() formula to get the row number in the adjacent cell and used this cell's reference as row number in your formula. It is working. OliverScheurich
- SatyaGupta_InMay 04, 2023Brass ContributorOkay, thanks for your support and help
- OliverScheurichMay 04, 2023Gold Contributor
In this situation i'd resort to the formula suggested earlier.