Hi,
Lets say I have 10 columns and I need to use Multi-Row formula to replicate the values in multiple rows for each of the columns , Is there a way to do it one shot. Or we have to use Multi Row formula 10 times in the workflow? for each column
Solved! Go to Solution.
You could transpose your 10 columns, update them with one then cross tab it back out but this will make your multi row formula more complicated
cheers
chris
Thanks! but as you outlined, formula becomes more complicated. Just to elaborate with an example - The Problem is on the left and expected result on the right. How to achieve this using Multi-Row formula only once and not thrice in the workflow? (since the below example has 3 columns that needs repetition)
Problem | Expected Result | ||||||||
Name | Col1 | Col2 | Col3 | Name | Col1 | Col2 | Col3 | ||
N1 | Monthly | Quarterly | Annual | N1 | Monthly | Quarterly | Annual | ||
N1 | N1 | Monthly | Quarterly | Annual | |||||
N1 | N1 | Monthly | Quarterly | Annual | |||||
N2 | Quarterly | Annual | Monthly | N2 | Quarterly | Annual | Monthly | ||
N2 | N2 | Quarterly | Annual | Monthly | |||||
N3 | Annual | Monthly | Quarterly | N3 | Annual | Monthly | Quarterly | ||
N3 | N3 | Annual | Monthly | Quarterly | |||||
N3 | N3 | Annual | Monthly | Quarterly | |||||
N4 | Monthly | Quarterly | Annual | N4 | Monthly | Quarterly | Annual | ||
N4 | N4 | Monthly | Quarterly | Annual | |||||
N4 | N4 | Monthly | Quarterly | Annual | |||||
@clant has the right idea
If your formulas are similar enough, you can get away a multirow formula that is not to complex. The trick here is to keep track of the original row and column orders in the transposed data.
The attached workflow applies the formula, if the previous number is even, then change the sign on the current number to both input columns
Hope this helps
Edit after seeing your response: This approach will fit your data, since the 3 multi-rows apply exactly the same formula, i.e. fill down of the previous non-null value. There is still the trade off between the complexity of the transpose-sort-multirow-crosstab approach and simply using X multi-row formulas. For 3 column its just easier to do each one individually. At some point though(10 Columns maybe) the transpose approach is just easier to maintain
Dan
Thank you, great solution.
However I have 50+ columns, so need to weigh in 50+ Multi-row formula for each column or the transpose approach
Hey @girisri
Check out this macro created by @patrick_digan. I think it can accomplish what you're looking for with one tool.
Thanks!