How can I combine IF, COLUMN, and LARGE formulas in a single cell?
I need to check an array for the most recent date, then return the text
contents of a cell at the head of the column which contains that date, concatenated with some text. I have no trouble using LARGE to return the date. I am trying to check the column of the result and simply type in the desired text (there are only three possible columns in the array), but even the combination of COLUMN and LARGE is proving problematic. The formula helper indicates a value of 38302 but will not validate the formula. |
Hi
not sure but you may try the following array formula (entered with CTRL+SHIFT+ENTER): =INDEX(A1:X1,MIN(IF(A2:X20=MAX(A2:X20),COLUMN(A2:X 20)))) "Liam Judd" wrote: I need to check an array for the most recent date, then return the text contents of a cell at the head of the column which contains that date, concatenated with some text. I have no trouble using LARGE to return the date. I am trying to check the column of the result and simply type in the desired text (there are only three possible columns in the array), but even the combination of COLUMN and LARGE is proving problematic. The formula helper indicates a value of 38302 but will not validate the formula. |
All times are GMT +1. The time now is 05:37 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com