Forum Discussion
jalverson
May 19, 2020Copper Contributor
Complex autofill formula
I am creating a column of cells (column e) on a data sheet that I want to auto-fill with the contents of a different cell from datasheet named Blad 1 (column A) if the contents in column F fall with...
Austris Bahanovskis
May 20, 2020Brass Contributor
jalverson
It's a bit tricky to read your formula...
If you'd share a sample file - it would be easier to grasp and provide a solution.
My gut feel is use sumproduct + choose
The TRICK is that if you do a compare two values and change that into a number (proceed with double minus "--") - then if matches, that yields =1 but if it doesn't match, it yields =0
For instance:
=--("a"="a") << returns =1
=--("a"="b") << returns =0
So you can build your criteria and total the evaluations up - that yields integer that you can feed into the choose function.
But as I said - if you'd upload a sample file - that would help (and potentially render my suggestion above totally useless :))
It's a bit tricky to read your formula...
If you'd share a sample file - it would be easier to grasp and provide a solution.
My gut feel is use sumproduct + choose
The TRICK is that if you do a compare two values and change that into a number (proceed with double minus "--") - then if matches, that yields =1 but if it doesn't match, it yields =0
For instance:
=--("a"="a") << returns =1
=--("a"="b") << returns =0
So you can build your criteria and total the evaluations up - that yields integer that you can feed into the choose function.
But as I said - if you'd upload a sample file - that would help (and potentially render my suggestion above totally useless :))
jalverson
May 20, 2020Copper Contributor
Austris Bahanovskis Thanks,
I have uploaded a copy of the Workbook that is in question. Again, in swedish, so I am not sure if you can read or open it. However, I have placed notes with Yellow highlighting on the column in question.