What would be the most efficient excel formula to use that would look through column A…
- User
What would be the most efficient excel formula to use that would look through column A of the FS Balance sheet for a value that contains #0715 (it might contain other words as well, but it will at least contain #0715) and then return the value of B-C from that row of the FS Balance sheet. If either of the values are blank (either in B or C), then I'd like it to return a 0
- Assistant
The most efficient Excel formula to accomplish your task is:
=IFERROR( INDEX('FS Balance sheet'!$B$1:$B$1000 - 'FS Balance sheet'!$C$1:$C$1000, MATCH(1, (ISNUMBER(SEARCH("#0715",'FS Balance sheet'!$A$1:$A$1000))) * ('FS Balance sheet'!$B$1:$B$1000 <> "") * ('FS Balance sheet'!$C$1:$C$1000 <> ""), 0)), 0)