excel function that does the same as "&" in vba?

IanJG

New Member
Joined
Jul 17, 2014
Messages
18
Is there a function or a way to add bits together like you can by using "&" in vba?
without having to go into VBA
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Is there a function or a way to add bits together like you can by using "&" in vba?
without having to go into VBA
It would help if you showed us an actual before and after example of what you are trying to do. With that said, the "&" works in worksheet formulas the same as it does in VBA. For example...

A1: "Hello"
B1: "There"
C1: =A1&" "&B1
 
Upvote 0
Thanks, should have tried that.lol I am making a complex workbook for a chemist. I have used a lot of Vba, but just want use a set of if statement to convert units for labels than add the name & Quantity & unit. thanks for the quick response. might allow me to get a few extra hours sleep tonight. thanks:)
 
Upvote 0

Forum statistics

Threads
1,226,693
Messages
6,192,471
Members
453,726
Latest member
JoeH57

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