Hello all,
I apologize but I cannot download the html creator while at work due to IT locking that function down so hopefully I can describe my question in a way that makes sense.
I am trying to create a formula that checks if a single cell date falls between a beginning and end date using the median function, and if so returns a value. I have multiple sheets I would like the check to do, or alternatively an array of cells for both the date checked and the value returned.
This is the formula I have created so far for an individual check, where 01 XXX is a sheet name, G6 is the cell with the date being checked, C26 is a beginning date and E26 is an ending date, and G40 is the value being returned if this check is true.
The formula I have been trying to get working for checking each sheet is below, with all the information the same except A28:A29 is a range of the sheet names I would be trying to pull data from.
I have not started work on a formula that would check an individual sheet but would check an array of cells, ie G6:AD6 and return respective values, G40:AD40.
Please let me know if I need to supply additional information.
I apologize but I cannot download the html creator while at work due to IT locking that function down so hopefully I can describe my question in a way that makes sense.
I am trying to create a formula that checks if a single cell date falls between a beginning and end date using the median function, and if so returns a value. I have multiple sheets I would like the check to do, or alternatively an array of cells for both the date checked and the value returned.
This is the formula I have created so far for an individual check, where 01 XXX is a sheet name, G6 is the cell with the date being checked, C26 is a beginning date and E26 is an ending date, and G40 is the value being returned if this check is true.
Code:
=IF(MEDIAN('01 XXX'!G6,$C$26,$E$26),'01 XXX'!G40,)
The formula I have been trying to get working for checking each sheet is below, with all the information the same except A28:A29 is a range of the sheet names I would be trying to pull data from.
Code:
=SUMPRODUCT(SUMIF(INDIRECT("'"&A28:A29&"'!G6"),MEDIAN((INDIRECT("'"&A28:A29&"'!G6"),$C$26,$E$26,INDIRECT("'"&A28:A29&"'!G40")))))
I have not started work on a formula that would check an individual sheet but would check an array of cells, ie G6:AD6 and return respective values, G40:AD40.
Please let me know if I need to supply additional information.