A dynamic formula to add/multiply cell values of bundles

filido

New Member
Joined
Jun 7, 2019
Messages
21
Hi

I would like to know if it's possible to have a formula that says If column C has "&" then add the values of the respective colors from column B to column D.
So basically if I did it manually, it would look something like in column D. It has to dynamic in a way that no matter how many "&" a cell in column C has, the formula works. I don't want to put a million nested IF statements.

To have this even more complicated, I need to stay away from VBA for now. So I'm looking for a formula to write on the formula bar in Excel.

Thanks!

AB
Blue2
Yellow4
Red6
Green8
Brown10

<tbody>
</tbody>
CD
Blue&Greenformula(=2+8)
Yellow&Green&Redformula(=4+8+6)
Blue&Yellow&Brown&Red&Greenformula(=2+4+10+6+8)

<tbody>
</tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Is this what you mean?

Excel Workbook
ABCD
1Blue2Blue&Green10
2Yellow4Yellow&Green&Red18
3Red6Blue&Yellow&Brown&Red&Green30
4Green8
5Brown10
Add Multiply
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top