ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Array formula (https://www.excelbanter.com/excel-worksheet-functions/197532-array-formula.html)

Sandy

Array formula
 
Hello Folks,
I am using the following array formula:
{INDEX(C$2:C$8800,MATCH(1,IF($A$2:$A$88800=$Y2,IF( $S$2:$S$8800=$AA2,1)),0))}

The formula returns a Date/Time and I would like to add 1 hour to the return.

Thanks


Peo Sjoblom[_2_]

Array formula
 
=Your_formula+(1/24)

format as date and time

--


Regards,


Peo Sjoblom

"Sandy" wrote in message
...
Hello Folks,
I am using the following array formula:
{INDEX(C$2:C$8800,MATCH(1,IF($A$2:$A$88800=$Y2,IF( $S$2:$S$8800=$AA2,1)),0))}

The formula returns a Date/Time and I would like to add 1 hour to the
return.

Thanks




Rick Rothstein \(MVP - VB\)[_1026_]

Array formula
 
Just add +1/24 to the end of what you have (don't forget to use
Ctrl+Shift+Enter to commit the new formula.

Rick


"Sandy" wrote in message
...
Hello Folks,
I am using the following array formula:
{INDEX(C$2:C$8800,MATCH(1,IF($A$2:$A$88800=$Y2,IF( $S$2:$S$8800=$AA2,1)),0))}

The formula returns a Date/Time and I would like to add 1 hour to the
return.

Thanks



T. Valko

Array formula
 
Try this (still array entered):

=INDEX(C$2:C$8800,MATCH(1,($A$2:$A$8800=$Y2)*($S$2 :$S$8800=$AA2),0))+TIME(1,0,0)


--
Biff
Microsoft Excel MVP


"Sandy" wrote in message
...
Hello Folks,
I am using the following array formula:
{INDEX(C$2:C$8800,MATCH(1,IF($A$2:$A$88800=$Y2,IF( $S$2:$S$8800=$AA2,1)),0))}

The formula returns a Date/Time and I would like to add 1 hour to the
return.

Thanks





All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com