lampshade22
New Member
- Joined
- Aug 24, 2024
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hi all
I am trying to achieve a summary of some data using the TEXTJOIN function.
The output depends on which Order No. the product has been allocated to. I would like to combine all the weights of each product in the output, regardless of whether they are Forecast Yield or Actual Yield. If the order allocation has any forecasted yields in it, I want to denote this with an asterisk. I have tried but I can't work out how to sum up the weights by product.
My desired output is highlighted in yellow.
The formula in C3 is:
[/CODE]
I hope that makes sense. Any help would be greatly appreciated!
Thanks
I am trying to achieve a summary of some data using the TEXTJOIN function.
The output depends on which Order No. the product has been allocated to. I would like to combine all the weights of each product in the output, regardless of whether they are Forecast Yield or Actual Yield. If the order allocation has any forecasted yields in it, I want to denote this with an asterisk. I have tried but I can't work out how to sum up the weights by product.
My desired output is highlighted in yellow.
The formula in C3 is:
Excel Formula:
=TEXTJOIN(CHAR(10),TRUE,IFS($E$8:$E$25<>B3,"",($E$8:$E$25=B3)*($C$8:$C$25<>""),$B$8:$B$25&" x "&ROUND($C$8:$C$25,1)&"Kg *",($E$8:$E$25=B3)*($D$8:$D$25<>""),$B$8:$B$25&" x "&ROUND($D$8:$D$25,1)&"Kg"))
I hope that makes sense. Any help would be greatly appreciated!
Thanks