Hacker News new | ask | show | jobs
by laumars 1376 days ago
There is a separate IF function

https://support.microsoft.com/en-us/office/if-function-69aed...

1 comments

That doesn’t do what the FooIF functions do: take a range, evaluate a user specified function on each of its cells, and then call Foo on the cells for which the function returns true.

Yes, you can create new cells that compute the Boolean, then use IF to populate a new range with the values that pass the test, and then call Foo on the new range, but avoiding such ‘pollution’ of spreadsheets is the whole reason these functions exist.