ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   If Formula (https://www.excelbanter.com/excel-programming/416434-if-formula.html)

Costill

If Formula
 
Can someone help educate me on the following formula:

=IF(INDIRECT(""&ROW()-2&"!$K$2")=0,"",INDIRECT(""&ROW()-2&"!$K$2"))

It is part of a purchase order log we use and the writer of the formula is
no longer with us.
--
Costill

Bob Phillips[_3_]

If Formula
 
It is looking in cell K2 of another worksheet, the name of that worksheet
being determined by the row number of the formula cell -2. So in H10, it
will look at K2 in sheet named 8, and if it is empty, return an empty cell,
else that value.

--
__________________________________
HTH

Bob

"Costill" wrote in message
...
Can someone help educate me on the following formula:

=IF(INDIRECT(""&ROW()-2&"!$K$2")=0,"",INDIRECT(""&ROW()-2&"!$K$2"))

It is part of a purchase order log we use and the writer of the formula is
no longer with us.
--
Costill





All times are GMT +1. The time now is 11:55 AM.

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