Immediate Help Needed - Excel Newbie **remove last comma in sum

jamesdor45

New Member
Joined
Feb 25, 2013
Messages
21
Hi Guys!

Great board and the answers I found here helped me on many occasions.

I’m an excel newbie and I have a stupid question that unfortunately I couldn’t make or solve, and I really need your help here.

I need to make a simple formula that will remove the last comma(s). For example, I have 7 lines (B1 – B7) that I insert a text into those. I then have another line (B8) that will show all of this words (including the commas). However I wont always have to insert all 7 options, so in some scenarios where I have to fill only two lines (B1 and B2) then I will get all of the commas from all other lines (B3 – B7).

The formula I currently use for A8 is this:


=B1&","&B2&","&B3&","&B4&","&B5&","&B6&","&B7


Can you guys please help me here? I really need this find a solution for this as soon as possible.

Thanks again for your time!

Regards,
Jerry
 
Guys, thank you so much for the help and swift replies. Rick solution is PERFECT and works great according to out needs. Peter, your formula does the same exact job, only that as you mention we will always have to insert a value in cell B1.

Thanks again for helping an excel newbie!

Regards,
Jerry
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Thanks for the feedback Jerry, its appreciated.

If you wanted to use my expression you could enter the following in another cell: =right(b8, len(B8)-2); of course you could replace the references to B8 with the original formula, but I thought that to be too unweildy.

Regards
 
Upvote 0

Forum statistics

Threads
1,223,574
Messages
6,173,144
Members
452,501
Latest member
musallam

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